1
0
mirror of https://github.com/rancher/os.git synced 2025-07-07 11:58:38 +00:00
Commit Graph

303 Commits

Author SHA1 Message Date
Darren Shepherd
042c0d2328 Add Type-0 to docs 2016-02-28 23:01:41 -07:00
Darren Shepherd
e9d475087c Merge pull request #788 from ibuildthecloud/packet-1
Add scripts for installing on packet
2016-02-28 22:53:04 -07:00
Darren Shepherd
4aae611660 Add scripts for installing on packet 2016-02-27 23:02:53 -07:00
Josh Curl
9d46ab4df8 Kexec upgrade 2016-02-27 15:30:53 -08:00
Ivan Mikushin
8b72377a3c generate os-config.yml 2016-02-26 17:46:55 -08:00
Ivan Mikushin
ac1b6a6797 Repair build for arm
and make sure CI breaks if arm is broken
2016-02-25 11:18:03 -08:00
Josh Curl
f28d463504 Enable SELinux 2016-02-19 16:11:32 -08:00
Darren Shepherd
cd8ab49579 Merge pull request #769 from ibuildthecloud/os
Scripts to build OpenStack/KVM image
2016-02-18 10:11:44 -07:00
Darren Shepherd
01252fc044 Scripts to build OpenStack/KVM image 2016-02-18 10:10:56 -07:00
Darren Shepherd
b2db201af9 RPI building scripts 2016-02-18 09:58:39 -07:00
Darren Shepherd
1e0125c508 Merge pull request #735 from imikushin/multiarch
Multi-arch build: amd64, arm
2016-02-08 18:57:24 -07:00
Ivan Mikushin
2f27271a2c Multi-arch build
Currently, for amd64 (the default) and arm.
Run `dapper make ARCH=arm rootfs` to build rootfs.tar.gz for arm.
2016-02-08 16:49:49 -08:00
Dan Jasek
9adfdf6ef9 Fix bug in install script
lsblk -o label will list the labels of the block devices. Using name only returns /dev/sda, etc.
In some cases, labels may be repeated (eg - RAID configurations).  It is safer to use greater than 0.
2016-02-06 19:23:29 -07:00
Ivan Mikushin
99bec55a2f Use drone-0.4 for CI and migrate build to dapper 2015-12-18 19:24:24 +05:00
Ivan Mikushin
6698e4f46e Merge pull request #663 from robbertkl/master
Avoid hardcoded reference to /scripts
2015-12-11 18:40:21 +05:00
Ivan Mikushin
084fb43201 tweak tests 2015-12-11 17:38:00 +05:00
Ivan Mikushin
f3afb076f7 Add ./scripts/vendor-cleanup.sh
And cleanup glide.yaml
2015-12-09 20:55:00 +05:00
Robbert Klarenbeek
c42d1b5716 Avoid hardcoded reference to /scripts 2015-11-25 18:33:24 +01:00
Ivan Mikushin
44b705c525 Merge pull request #597 from imikushin/usr-dev
remove boot behaviour dependency on version string
2015-10-13 11:13:31 +05:00
Wang Long
9e15059789 Replace rancherio with rancher
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2015-10-12 19:50:57 +08:00
Ivan Mikushin
c79a64e42e remove dependency on version string
using rancher.rm_usr kernel param instead
2015-10-07 14:02:17 +05:00
Darren Shepherd
febd78f1dd Add helper script to convert Ubuntu deb to kernel tgz 2015-10-02 01:02:44 -07:00
Darren Shepherd
d9fdbe542f Merge pull request #591 from ibuildthecloud/faster-dev
Even faster dev build :)
2015-10-02 00:50:11 -07:00
Darren Shepherd
4cd78f1047 Even faster dev build :) 2015-10-01 15:45:48 -07:00
Ivan Mikushin
21453e38a9 installer: copy 1M zeroes to the target device before running fdisk
otherwise grub-install chokes, even after the new partition table has been created
2015-10-01 13:53:48 +05:00
Ivan Mikushin
e313091bde fix: scripts/run --qind runs plain qemu (instead of qind) 2015-09-23 11:57:16 +05:00
Ivan Mikushin
39e2e6c3b3 speed up the full build by swapping lzma with gzip if run with --dev flag 2015-09-23 10:22:55 +05:00
Ivan Mikushin
25fa1b769d add --qind to scripts/run and scripts/ssh
also add `--fresh` to `scripts/run` to run with a clean state HDD,
make `--qemu` the default in `scripts/run` and `scripts/ssh`
2015-09-23 10:20:28 +05:00
Ivan Mikushin
abf1203499 readme from os-installer 2015-09-14 19:38:16 +05:00
Ivan Mikushin
4746e362b9 Merge pull request #558 from imikushin/test-custom-kernel
Test building with custom kernel and docker
2015-09-11 09:14:56 +05:00
Ivan Mikushin
168d340b76 test custom kernel and docker build and boot 2015-09-09 23:35:15 +05:00
Ivan Mikushin
0c196f557b use --device=/dev/kvm:/dev/kvm instead of --privileged to enable KVM in docker 2015-09-09 14:31:58 +05:00
Ivan Mikushin
69970ed8ed refactor docker-run.sh 2015-09-08 22:18:46 +05:00
Ivan Mikushin
65d99e6e8a ./scripts/run --no-format 2015-09-08 13:56:04 +05:00
Ivan Mikushin
bce7845dc5 factor out build configuration to build.conf 2015-09-08 12:14:06 +05:00
Ivan Mikushin
e525091ab5 cleanup installer Dockerfile a bit 2015-09-08 12:09:43 +05:00
Ivan Mikushin
9a75fc101c detect /dev/kvm or optionally force --privileged
using PRIVILEGED=1 in ./scripts/docker-run.sh
2015-09-04 19:48:46 +05:00
Ivan Mikushin
950158823c run integration tests as part of the build 2015-09-04 19:30:16 +05:00
Ivan Mikushin
74e589039b make run and ssh scripts more robust
Detect if KVM is available.
Enable QEMU to run w/o KVM (in the cloud or on OS X). Use --xhyve flag to run with xhyve on OS X.
2015-09-03 20:01:32 +05:00
Ivan Mikushin
e94f8d8a1f revive integration tests 2015-09-03 17:44:16 +05:00
Darren Shepherd
0d035abe98 Merge pull request #519 from bruienne/master
Fix sha1sum call to work on both Linux and Darwin.
2015-08-31 07:23:03 -07:00
Ivan Mikushin
b00d7efb8f choose appropriate console for install type
tty0 or ttyS0
(cherry picked from commit c62ca5f)
2015-08-27 15:13:16 +05:00
Ivan Mikushin
16d69e0058 Revert "Installer image based on Alpine" 2015-08-27 15:01:26 +05:00
Ivan Mikushin
c62ca5f891 choose appropriate console for install type
tty0 or ttyS0
2015-08-25 17:42:20 +05:00
Ivan Mikushin
a60eb06307 use extlinux instead of grub2 2015-08-25 17:42:20 +05:00
Ivan Mikushin
e486b7e218 ros install 2015-08-25 17:20:40 +05:00
Pepijn Bruienne
3565a3513b Fix sha1sum call to work on both Linux and Darwin. 2015-08-22 13:49:02 -04:00
Ivan Mikushin
2812bf4894 fix the boot crash on installed system 2015-08-18 12:53:44 +05:00
Ivan Mikushin
1a1391112a make tty0 the default console
the last `console=` value becomes `/dev/console`
(see https://www.kernel.org/doc/Documentation/serial-console.txt)
2015-08-17 17:04:16 +05:00
Ivan Mikushin
4b5f68b0f6 revert master to v0.4.0-dev
master branch should be a "-dev" version. let's tag rcs and releases versions on commits spawning off the branch
2015-08-14 20:02:47 +05:00
Ivan Mikushin
687beeca30 v0.4.0-rc1 2015-08-14 19:20:58 +05:00
Ivan Mikushin
f1c7aa38c1 add rancher/os (os-installer) Dockerfile
and installer scripts
2015-08-14 18:23:50 +05:00
Ivan Mikushin
3977e379ae cleanup to host rancher/os (os-installer) Dockerfile 2015-08-14 18:23:50 +05:00
Ivan Mikushin
32aa3c74a5 rm copy-images 2015-08-07 23:25:38 +05:00
Ivan Mikushin
414eec85c6 custom kernel and docker-from-scratch 2015-08-07 20:06:28 +05:00
Ivan Mikushin
f072cff37c cleanup after docker create 2015-08-06 15:03:29 +05:00
Darren Shepherd
13106ed63f Fix sbin symlink and bootstrap services 2015-08-06 00:49:00 -07:00
Darren Shepherd
598f47b68d Update build for docker-from-scratch 2015-08-06 00:05:25 -07:00
Darren Shepherd
9d76b79ac3 Refactor to use libcompose 2015-08-06 00:05:25 -07:00
Darren Shepherd
19f9a1b281 Rebase on docker-from-scratch 2015-08-06 00:05:25 -07:00
Ivan Mikushin
1ef95f1db5 fix scripts/ci 2015-08-06 11:36:11 +05:00
Ivan Mikushin
e0e51a9f37 move chunks of shell from Makefile into scripts 2015-08-06 01:58:32 +05:00
Ivan Mikushin
9436b0da9a split makefile into local and in-docker 2015-08-06 01:07:35 +05:00
Ivan Mikushin
de3bfed810 scripts/run: create an empty raw disk image if not present
use autoformat with formatzero=true to format the disk
2015-07-29 13:13:28 +05:00
Ivan Mikushin
5c84f36d79 enable ACPI in xhyve 2015-07-29 11:58:12 +05:00
Ivan Mikushin
7b957d8fc6 scripts/run: minor cleanup 2015-07-28 18:58:25 +05:00
Ivan Mikushin
55ca88ed82 do not pull os-images by default if they exist
also, cleanup os-initrdbase container on exit in ./scripts/copy-images
(as trap can apparently only run one command)
2015-07-28 13:22:47 +05:00
Darren Shepherd
cd616a383e Fix script/run on Linux 2015-07-27 15:55:45 -07:00
Ivan Mikushin
6022f78edd dind-less, make-based build system 2015-07-27 11:21:46 +05:00
Ivan Mikushin
70c9ce46ec move kernel lib from initrd-base to kernel 2015-07-24 14:20:50 +05:00
Ivan Mikushin
890052273e log bootstrap and autoformat services 2015-07-22 19:18:43 +05:00
Ivan Mikushin
d33698d17b move auto-formatter drive selection logic to os-autoformat container
and get rid of:
- machine-rancheros.iso,
- special case in build-images,
- some bootstrap.go code
2015-07-22 17:47:24 +05:00
Ivan Mikushin
47d658cf4a ./scripts/ssh: support OS X 2015-07-21 17:27:12 +05:00
Ivan Mikushin
229e4e0fbd ./scripts/run: support OS X 2015-07-21 17:26:48 +05:00
Ivan Mikushin
2efba7cca5 WIP: supply cloud-config via openstack config-2 CD 2015-07-21 13:34:55 +05:00
Ivan Mikushin
e906e1ced7 WIP: xhyve: add some memory to the VM
do not use persistent disk yet
2015-07-21 13:34:55 +05:00
Ivan Mikushin
5b50756d62 bump version to v0.4.0-dev 2015-07-21 13:02:50 +05:00
Ivan Mikushin
26daed2bbf update to docker v1.7.1 2015-07-16 16:34:43 +05:00
Ivan Mikushin
95c0bb2d8e really fix the rancher/dind:v0.5.0 regression
not just avoid it
2015-07-14 23:50:22 +05:00
Ivan Mikushin
51d2dddfa8 scripts cleanup 2015-07-14 18:37:39 +05:00
Ivan Mikushin
a444250160 fix network connectivity regression in ros s list and ros os list
revert to using rancher/dind:v0.1.0 as DOCKER_BASE
2015-07-14 17:53:16 +05:00
Ivan Mikushin
b96d1a0964 v0.3.4-dev 2015-07-09 16:36:25 +05:00
Ivan Mikushin
26f470543d cleanup build a little 2015-07-09 11:38:44 +05:00
Ivan Mikushin
a8fcbb7aad build scripts: update to rancher/dind:v0.5.0
because docker-1.7 is now required to successfully pull images from DockerHub
NOTE: .drone.yml still uses rancher/dind:v0.1.0
2015-07-09 11:37:22 +05:00
Ivan Mikushin
33d8026d75 v0.3.3 2015-07-03 11:04:24 +05:00
Ivan Mikushin
a9d96d786a v0.3.3-rc1 2015-07-02 22:21:16 +05:00
Ivan Mikushin
e8513c8e97 fix machine 2015-07-02 14:06:12 +05:00
Ivan Mikushin
bd2ab6c218 v0.3.2 2015-07-01 16:24:36 +05:00
Ivan Mikushin
81216c2af2 v0.3.2-rc3
use images v0.3.2-rc3 in os-config.yml
2015-06-30 19:29:10 +05:00
Ivan Mikushin
7995541ce1 set VERSION to v0.3.2-rc2 2015-06-30 12:36:21 +05:00
Ivan Mikushin
6c96533494 use xhyve in ./scripts/run on OS X 2015-06-29 23:40:54 +05:00
Ivan Mikushin
c3bbd8886c cleanups 2015-06-29 23:32:36 +05:00
Ivan Mikushin
da2b12d840 get bin/rancheros back where it belongs 2015-06-29 23:12:08 +05:00
Ivan Mikushin
4bf30683e7 build based on os-config.yml
WIP: build scripts
2015-06-29 12:03:41 +05:00
Ivan Mikushin
dff70f8362 latest rancher-compose, default.go -> os-config.yml
also, gofmt
2015-06-29 12:00:41 +05:00
Darren Shepherd
6a8fc22fa9 Merge pull request #347 from imikushin/sshd-client-alive
add ClientAliveInterval 180 to sshd_config
2015-06-26 09:39:57 -07:00
Ivan Mikushin
2082d3f620 make rancheros-install available in debian and ubuntu consoles 2015-06-09 14:15:31 +05:00
Ivan Mikushin
1db86b5dac add ClientAliveInterval 180 to sshd_config 2015-06-01 17:41:52 +05:00
Darren Shepherd
3338c4ac63 v0.3.1 2015-05-31 10:55:29 -07:00
Darren Shepherd
ff2878671c v0.3.1-rc4 2015-05-29 11:32:11 -07:00