1
0
mirror of https://github.com/rancher/os.git synced 2025-07-19 01:16:31 +00:00
Commit Graph

601 Commits

Author SHA1 Message Date
Sven Dowideit
f5193d065a Started separating out the kernel modules from initrd, but there are some details that will delay it
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:40:18 +00:00
Sven Dowideit
cc78ff7bd1 make the iso run also get the ssh and cloud-init so testing the installer is easier
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:40:16 +00:00
Sven Dowideit
087bc6fd2d Convert install script to go
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:39:38 +00:00
Josh Curl
19e8c841f8 Wait for device partitions in type-0 Packet instance installs 2017-01-15 23:39:37 +00:00
Philippe Vaucher
a6153c37e6 Remove duplicate line in scripts/package-iso 2017-01-05 16:22:20 +01:00
Sven Dowideit
ccce5e52c1 Merge pull request #1461 from SvenDowideit/generate-changelog
generate a changelog to start from
2016-12-16 21:43:09 +10:00
Philippe Godin
0cdfbc76b5 Refactored make help target
Fixes issue #1450
2016-12-15 20:07:43 -05:00
Sven Dowideit
05b8587849 Merge pull request #1448 from konsumer/master
GPT partition option
2016-12-15 10:50:49 +10:00
Sven Dowideit
69d1077169 gpt disk in BIOS boot mode
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-12-14 22:04:31 +10:00
Sven Dowideit
7dc719148e plain syslinux with mbr works
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-12-14 21:01:58 +10:00
Sven Dowideit
528c39f238 replace fdisk with parted
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-12-14 14:58:38 +10:00
Sven Dowideit
ee51e854ba generate a changelog to start from
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-12-13 17:09:49 +10:00
Sven Dowideit
38faa7073b Fix the commanline hints to upload release
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-12-12 13:58:05 +10:00
David Konsumer
64ec90fe3d GPT partition option
UNTESTED: This adds a `-g` flag to select gptmbr.bin for MBR image, allowing installation on a GPT harddrive.
2016-12-02 22:50:24 -08:00
Josh Curl
ba5934c559
Remove mk-initrd.sh script 2016-12-01 11:42:11 -08:00
Sven Dowideit
30f44f7b98 Merge pull request #1422 from SvenDowideit/newer-hypriotos-kernel-4.4.27-7
Built v0.8.0-rc1 rpi image
2016-11-29 10:32:05 +10:00
Josh Curl
feaba53aa8
Enable golint 2016-11-28 00:09:17 -08:00
Josh Curl
a7c34b9855
Fix golint errors 2016-11-28 00:06:00 -08:00
Sven Dowideit
fa1dc760f2 Merge pull request #1425 from joshwget/validation-fixes
Validation fixes
2016-11-28 09:04:30 +10:00
Sven Dowideit
f3b9c72262 Built v0.8.0-rc1 rpi image
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-28 08:59:18 +10:00
Josh Curl
47a447cb67
Add container to write_files schema 2016-11-26 23:26:20 -08:00
Sven Dowideit
a4cf5b47b2 Changes needed to get the arm and arm64 builds working
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-25 10:10:21 +10:00
Sven Dowideit
f4948a6ae4 the integration tests need the installer tar file
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-24 16:48:00 +10:00
Sven Dowideit
67ab66f95d Add info telling me how to release
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-24 01:51:24 +00:00
Sven Dowideit
4546f19bab Merge pull request #1410 from joshwget/remove-strip
Link with '-s -w' instead of calling strip
2016-11-22 08:27:38 +10:00
Sven Dowideit
aa781b4a51 Merge pull request #1308 from SvenDowideit/move-os-release-file
Move the os-release file to /usr/lib and softlink
2016-11-22 08:26:27 +10:00
Josh Curl
f7de33c1a5
Link with '-s -w' instead of calling strip 2016-11-17 13:53:10 -08:00
Sven Dowideit
432fa5636e Push the os-release file into the hostfs, and then bind mount it into our system containers
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-17 21:39:36 +10:00
Sven Dowideit
0a7d679866 run the iso
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-17 20:54:08 +10:00
Josh Curl
98f7f9e207
Update schema 2016-11-16 21:02:33 -08:00
Josh Curl
ac3cd213dc
Update schema 2016-11-16 10:06:13 -08:00
deniseschannon
9f909ae54d Updates to Amazon ECS and packet script for v0.7.1 2016-11-12 08:51:28 -08:00
Josh Curl
4ca24cffc6
Add bootcmd to schema 2016-11-11 14:56:25 -08:00
Sven Dowideit
28075b2a78 Merge pull request #1373 from joshwget/validate-command
Add command to validate configuration
2016-11-10 18:34:14 +10:00
Sven Dowideit
1d289143fe Select a specific integration test to run
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-10 13:07:45 +10:00
Josh Curl
ceaec960c4
Update schema 2016-11-08 11:48:05 -08:00
Josh Curl
25e5ca5e4c
Add command to validate configuration 2016-11-06 18:23:01 -08:00
Kristian Klausen
284fb06636 Add initial DigitalOcean Debian->RancherOS cloud-config.yml 2016-11-04 17:48:44 +01:00
Sven Dowideit
b344657d0f add 'make docs' to build locally
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-02 15:19:14 +10:00
Josh Curl
7d40c641bc
Update last code sent for Packet installation 2016-10-25 13:57:55 -07:00
Sven Dowideit
f6576815c9 Add a way to over-ride the downloaded kernel with a local file
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-10-21 16:44:39 -07:00
Josh Curl
8ad8fbb877
Wait for network before installing in Packet 2016-10-20 14:33:03 -07:00
Darren Shepherd
ddbedb9b31 Revert "Add EFI live boot support" 2016-10-10 15:23:15 -07:00
Darren Shepherd
94fd38c358 Merge pull request #1263 from deitch/efi-live-boot-support
Add EFI live boot support
2016-10-10 10:23:50 -07:00
deniseschannon
e8ffaedb08 Updated packet script to use v0.7.0-rc3 2016-10-09 23:58:28 -07:00
Avi Deitcher
d4fbc039a7 Add support for --efi to scripts/run 2016-10-10 09:06:05 +03:00
Josh Curl
4eaf18946a
Add 'body' key to Tinkerbell post bodies 2016-10-06 15:35:27 -07:00
Denise
b6c103373e Merge pull request #1294 from joshwget/packet-v0.7.0-rc2
Bump Packet script to v0.7.0-rc2
2016-10-06 14:55:03 -07:00
Josh Curl
3e3e036bda
Bump Packet script to v0.7.0-rc2 2016-10-06 14:48:37 -07:00
Josh Curl
f5681217b5
Fix invalid JSON in Tinkerbell post body 2016-10-06 13:37:59 -07:00
Josh Curl
dfc9455e72
Add /phone-home to Tinkerbell URL 2016-10-05 15:58:06 -07:00
Darren Shepherd
c681c71fa6 Merge pull request #1273 from joshwget/packet-autologin
Autologin to ttyS1 in Packet
2016-10-05 14:08:18 -07:00
Josh Curl
e89f4f27e0
Use System Docker during Packet install 2016-10-05 13:45:13 -07:00
Josh Curl
8b9edc2836
Autologin to ttyS1 in Packet 2016-10-05 00:49:00 -07:00
Josh Curl
6ace0c1b05
New Packet installation script 2016-10-04 15:33:10 -07:00
Avi Deitcher
cc538ad523 Align kernel command-line params for EFI via grub to BIOS via isolinux 2016-10-02 14:34:44 +03:00
Avi Deitcher
cdd3dcc99e Set the correct image builder to include EFI 2016-10-02 11:45:59 +03:00
Avi Deitcher
4b121ec3b1 Add grub-efi to Dockerfile.dapper, efi.txt instructions and base grub.cfg 2016-10-02 11:40:57 +03:00
Josh Curl
2fc1d3fa5f
Add noformat and RAID installer types 2016-09-29 21:55:19 -07:00
Josh Curl
1da9a19951
Enable scripts/validate without golint 2016-09-26 21:32:40 -07:00
Josh Curl
1731fc5642
Preserve custom kernel arguments when upgrading 2016-09-26 17:27:53 -07:00
Josh Curl
133c2610d1
Remove rancher.state.formatzero kernel parameter 2016-09-25 11:39:46 -07:00
Josh Curl
8777e477b8
Add upgrade tests 2016-09-12 21:48:26 -07:00
Josh Curl
b536e6ea35
Add functionality for installing and running a test image 2016-09-12 21:48:16 -07:00
Josh Curl
17f0ef63b9
Create installer image build artifact 2016-09-12 21:48:10 -07:00
Darren Shepherd
d01440fe55 Small script changes 2016-09-06 11:56:05 -07:00
Darren Shepherd
5d02e35df7 Add suffix to rootfs build 2016-08-31 14:04:47 -07:00
Darren Shepherd
bd904fcbda Merge pull request #1192 from joshwget/package-images-with-os-base
Package images with rancher/os-base instead of busybox
2016-08-28 12:05:43 -07:00
Josh Curl
c2a58aeb70
Package images with rancher/os-base instead of busybox 2016-08-26 11:42:47 -07:00
Josh Curl
bffe4e5d3e
Fix upgrades from persistent consoles 2016-08-25 16:04:31 -07:00
Josh Curl
e4a94a81ef
Add autologin key to scripts/run 2016-08-22 11:20:04 -07:00
Josh Curl
bbab6aa760
Specify each tty for autologin 2016-08-22 11:19:24 -07:00
Darren Shepherd
8d79d67ca4 Merge pull request #1168 from ibuildthecloud/checksum
Create iso checksums
2016-08-18 22:42:28 -07:00
Darren Shepherd
ecb3880846 Create iso checksums 2016-08-18 22:41:30 -07:00
Darren Shepherd
6ed44af89a Extra compression 2016-08-18 21:26:34 -07:00
Josh Curl
4b3198dff4
Add rancher.autologin key 2016-08-17 16:07:46 -07:00
Darren Shepherd
2631eb118c Merge pull request #1158 from joshwget/restore-storage-driver-build-warning
Restore storage driver build warning
2016-08-16 18:33:12 -07:00
Josh Curl
9d603a6388
Restore storage driver build warning 2016-08-16 16:33:33 -07:00
Josh Curl
455e36bb0e
Strip more Docker binaries from DFS image 2016-08-16 14:09:47 -07:00
Josh Curl
80c72d0761
Make it easier to switch between Docker engines 2016-08-15 15:06:26 -07:00
Josh Curl
0a053c62ab
Extend write_files to run in all system services 2016-08-15 11:14:50 -07:00
Josh Curl
6b4222888c
Refactor state 2016-07-27 23:25:08 -07:00
Darren Shepherd
c1cd100dae Merge pull request #1122 from joshwget/refactor-integration-tests
Refactor integration tests
2016-07-20 20:28:22 -07:00
Josh Curl
0c7fb4f1f9
Refactor integration tests 2016-07-20 10:42:16 -07:00
Darren Shepherd
16ea661b6b Fix rootfs build for ARM 2016-07-01 13:32:43 -07:00
Darren Shepherd
fd8e1dedb5 Merge pull request #1076 from joshwget/remove-raspberry-pi-version
Remove version from Raspberry Pi artifacts
2016-06-30 22:01:21 -07:00
Josh Curl
9b7b6ebe4a
Remove version from Raspberry Pi artifacts 2016-06-30 17:23:12 -07:00
Darren Shepherd
7dfece8f3d Add udev back to the installer 2016-06-29 23:51:05 -07:00
Darren Shepherd
70bf02df1f Various fixes for ARM build 2016-06-29 23:03:28 -07:00
Darren Shepherd
dd4f348592 Skip integration tests in release 2016-06-28 21:41:40 -07:00
Darren Shepherd
afb8806cb6 Merge pull request #1057 from ibuildthecloud/cni
Add CNI networking to system-docker
2016-06-28 16:05:11 -07:00
Darren Shepherd
e360f6cd6a Merge pull request #1058 from ibuildthecloud/installer-size
Shrink installer a tiny bit
2016-06-28 15:58:21 -07:00
Darren Shepherd
0323844ca6 Add CNI networking to system-docker 2016-06-28 15:34:26 -07:00
Darren Shepherd
327aa0964c Shrink installer a tiny bit 2016-06-28 15:28:51 -07:00
Josh Curl
b09c09edf4
Fix two instances where customization isn't respected 2016-06-28 14:35:51 -07:00
Darren Shepherd
d8fc2a7401 Merge pull request #1051 from joshwget/dns-patch-build-tag
Go DNS patch based on build tag
2016-06-27 20:38:14 -07:00
Josh Curl
d0607ee68f
Go DNS patch based on build tag 2016-06-27 20:05:44 -07:00
Josh Curl
128c228ff5
Add swap support in cloud config mounts 2016-06-22 21:50:29 -07:00
Darren Shepherd
9922786748 Merge pull request #1022 from joshwget/update-selinux-files
Update SELinux config files in installer
2016-06-17 13:24:37 -07:00
Josh Curl
45712bef22
Update SELinux files in installer 2016-06-17 09:13:40 -07:00
Darren Shepherd
2a60981b09 Build script updates
Always compress with gzip unless we are doing a release.  Also download
rootfs.tar to ${DOWNLOAD} so `dapper -m bind` works better.
2016-06-17 08:00:33 -07:00
Darren Shepherd
924e4b8aae /media and /mnt mounted as shared for console 2016-06-15 16:45:05 -07:00
Ivan Mikushin
a640bdb758 Fix installer build 2016-06-14 10:29:38 -07:00
Josh Curl
e4019385aa
Merge remote-tracking branch 'origin/v0.5' into HEAD 2016-06-13 22:00:34 -07:00
Ivan Mikushin
9afb667cf4 Fix building the iso 2016-06-13 14:42:10 -07:00
Darren Shepherd
c8fd1bc665 Pick vmlinuz then vmlinux 2016-06-07 11:21:28 -07:00
Darren Shepherd
57a2f99484 Optimize scripts for slow disks 2016-06-07 11:21:27 -07:00
Darren Shepherd
e1d29fbab7 Bring back installer 2016-06-07 11:21:27 -07:00
Darren Shepherd
ac0f317bf8 Build script updates 2016-06-07 11:21:27 -07:00
Darren Shepherd
c9c095f202 Build script 2016-06-06 08:08:04 -07:00
Darren Shepherd
8ab32c820f Docker 1.11.1 2016-06-03 11:38:25 -07:00
Darren Shepherd
5bf4d2c117 More build script changes 2016-05-31 21:11:03 -07:00
Darren Shepherd
9e73976a9e Make tests run 2016-05-23 14:15:38 -07:00
Darren Shepherd
0d5223db23 Fix tests 2016-05-22 23:51:46 -07:00
Darren Shepherd
d34ead2fbf Speed up build and run tests 2016-05-22 23:16:27 -07:00
Darren Shepherd
c09b807991 Merge pull request #860 from imikushin/rootfs-build-fix
Fix building rootfs for arm on amd64
2016-05-16 18:51:22 -07:00
Ivan Mikushin
d664c96001 fix ./scripts/run: create a unique loopback device for each run 2016-05-11 15:36:56 -07:00
Darren Shepherd
dd7b2554e7 More build script enhancements 2016-05-08 10:35:48 -07:00
Darren Shepherd
ec410addb9 Refactor build scripts 2016-05-06 10:58:54 -07:00
Ivan Mikushin
1df1582459 Fix building rootfs for arm on amd64 2016-04-13 14:40:28 -07:00
Josh Curl
adb8ad3e3a Add unit tests to CI 2016-04-13 11:23:21 -07:00
Wang Long
69cb33b26c fix lay-down-os error
option `-k` does not need an argument and `-a` need one.

Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-04-07 11:09:09 +08:00
Darren Shepherd
07faa92c7f Merge pull request #820 from imikushin/kexec-kernel-args
Add --append to `ros os upgrade` to pass kernel args for --kexec
2016-04-04 13:41:11 -07:00
Darren Shepherd
6a3367ce24 Merge pull request #825 from imikushin/qemu-arm
Run tests on qemu-system-aarch64
2016-04-04 11:33:39 -07:00
Ivan Mikushin
e2f3ac78a7 cleanup tests using SSH 2016-03-31 18:56:18 -07:00
Darren Shepherd
44fb5dfe2e Merge pull request #842 from joshwget/vbox-modules
Include VirtualBox guest modules
2016-03-31 18:40:01 -07:00
Darren Shepherd
0fcc1bb94f Merge pull request #845 from datawolf/fix-suffix-error
fix the suffix error when the target is rootfs
2016-03-31 18:33:10 -07:00
Ivan Mikushin
2dd57c5f3a remove an unused option --xhyve from ./scripts/run 2016-03-31 16:10:38 -07:00
Josh Curl
6e9ce6aea3 Include VirtualBox guest modules 2016-03-31 15:35:45 -07:00
Ivan Mikushin
60e5ff7ede Fix problems loading external services on boot (like ubuntu-console or kernel-headers)
On arm64 external services would not load on boot because of DNS i/o timeouts or valid TLS certificates appearing expired or not issued yet (I know that sounds weird).
2016-03-31 13:16:26 -07:00
Ivan Mikushin
99c3207b14 Hook cloud-config into qemu-system-aarch46 2016-03-31 13:16:26 -07:00
Ivan Mikushin
29aff3d807 Dockerfile.dapper: make sure to update apt repos before fetching build deps and sources
Also, use dapper -d flag in scripts/shell.sh for better visibility
2016-03-31 13:14:25 -07:00
Darren Shepherd
78ae645903 Merge pull request #824 from imikushin/run-kvm
scripts/run: enable KVM on arm/arm64 too
2016-03-31 11:55:46 -07:00
Wang Long
5221a31b1f fix the suffix error when the target is rootfs
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-03-31 21:50:16 +08:00
Wang Long
d45360db62 Fix lay-down-os shell error
the current code for lay-down-os will cause the following error when
install rancheros to disk.

```
-bash: [: missing `]'
```

Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-03-26 15:33:25 +08:00
Ivan Mikushin
dc86eb8c6d scripts/run: enable KVM on arm/arm64 too 2016-03-23 13:28:05 -07:00
Ivan Mikushin
5a8d0e7f34 Add --append to ros os upgrade to pass kernel args for --kexec 2016-03-22 12:16:06 -07:00
Wang Long
e074038775 fix gen-os-config.sh error
Need to source build.conf.${ARCH} file when we generate os-config.yml
after the pr(https://github.com/rancher/os/pull/815) merged.

this patch fix it.

Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-03-22 14:15:30 +08:00
Ivan Mikushin
8802fe2c6e Run qemu and tests on different architectures 2016-03-17 04:30:11 -07:00
Ivan Mikushin
3b6d47be32 Use the correct strip binary.
Fixes native builds on ARM
2016-03-15 15:58:03 -07:00
Darren Shepherd
60e0ed9be4 Merge pull request #800 from DieterReuter/rpi3-image
WIP: Refactored RPI building scripts and support for Raspberry Pi 3
2016-03-15 09:59:47 -07:00
Ivan Mikushin
356f25be20 cross-build is back
`HOST_ARCH=arm64 ./make.sh minimal` builds vmlinuz and initrd for arm64 on arm64 (sourcing .docker-env.arm64 in the process)
`ARCH=arm ./make.sh rootfs` builds rootfs.tar.gz for arm on your current docker environment
2016-03-15 09:01:10 -07:00
Ivan Mikushin
142ec23778 Build for ARM64 on ARM64, installer included 2016-03-14 12:08:11 -07:00
Dieter Reuter
d30e307e2f Refactor image builder, add support for Pi 3 2016-03-07 09:30:24 +01:00
Dieter Reuter
58c769cab5 Ignore dist folder 2016-03-07 09:29:12 +01:00
Ivan Mikushin
0bab70e84e cleanup Makefile a bit 2016-02-29 17:03:34 -08:00
Darren Shepherd
0f263d570b Merge pull request #785 from joshwget/kexec-upgrade
Kexec upgrade
2016-02-28 23:28:44 -07:00
Darren Shepherd
e5745261c1 Merge pull request #790 from ibuildthecloud/packet-1
Add Type-0 to docs
2016-02-28 23:02:27 -07:00
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
Darren Shepherd
3a7fc4524d Make consoles compatible with RancherOS v0.3.0 2015-05-26 21:00:06 -07:00
Ivan Mikushin
168eb7f484 debianconsole: add less 2015-05-24 18:08:28 +05:00