1
0
mirror of https://github.com/rancher/os.git synced 2025-06-21 12:37:04 +00:00
Commit Graph

84 Commits

Author SHA1 Message Date
Sven Dowideit
096d990b4e Revert "Prevent ctrl-c in qemu from exiting vm - use ctrl-] instead" 2017-05-19 12:42:23 +10:00
Sven Dowideit
bed064419b fix ros-install version check for dev builds
Signed-off-by: Sven Dowideit <sven@y260.home.org.au>
2017-05-17 16:02:39 +10:00
Sven Dowideit
f0f990f08d Merge pull request #1857 from SvenDowideit/stop-ctrl-c-in-qemu-exiting-vm
Prevent ctrl-c in qemu from exiting vm - use ctrl-] instead
2017-05-17 12:28:33 +10:00
Sven Dowideit
b22bf7476c Prevent ctrl-c in qemu from exiting vm - use ctrl-] instead
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-05-17 12:24:54 +10:00
Sven Dowideit
1655c1963e move openstack img files into dist/artifacts
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-05-16 10:51:15 +10:00
Sven Dowideit
2cd67d9bbe make qcow images customizable, and build one for Digital Ocean
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-04-26 04:40:04 +00:00
Sven Dowideit
d4ae014f76 add scripts/run --openstack, and use the iso if --cloud-config file.iso
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-28 16:04:49 +10:00
Sven Dowideit
f6ce1f0685 Use the kernel cmdline elide patch to load config into RancherOS that isn't visible in /pro/cmdline
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-14 14:19:43 +10:00
Sven Dowideit
b2e0510697 run your dev build using pixiecore
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-06 20:40:09 +10:00
Sven Dowideit
69be7de1c4 Fix ISO based cloud-config drive
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-02-22 05:23:22 +00:00
Sven Dowideit
2fb7651b60 Failing test for cloud-config on iso
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-02-22 05:23:22 +00:00
Sven Dowideit
7ee3c0e12f Didn't see it - qemu doesn't complain, it only fails in iso boot mode during loading the initrd
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-27 12:48:05 +10:00
Sven Dowideit
1c5d41a56e Add a test for the non-tar b2d autoformat trigger
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-22 06:43:04 +00:00
Sven Dowideit
3a7096f19b allow tester to over-ride the vm's memory limit
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-22 13:14:31 +10:00
Sven Dowideit
edb8022336 fix create-installer to use the installer tarball in the iso
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-16 12:37:01 +10:00
Sven Dowideit
e5a7889ce9 make --fresh apply to the second disk too
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:40:18 +00:00
Sven Dowideit
2a575837b2 Installing 0.7.1, and then rebooting, and doing a ros upgrade to a faked up latest works \o/
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:40:18 +00:00
Sven Dowideit
f5230f1299 add integration tests for iso boot, install and then boot from disk.
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-15 23:40:18 +00:00
Sven Dowideit
11e78892c1 port the use of parted to go
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
Sven Dowideit
0a7d679866 run the iso
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-17 20:54:08 +10:00
Darren Shepherd
ddbedb9b31 Revert "Add EFI live boot support" 2016-10-10 15:23:15 -07:00
Avi Deitcher
d4fbc039a7 Add support for --efi to scripts/run 2016-10-10 09:06:05 +03:00
Josh Curl
133c2610d1
Remove rancher.state.formatzero kernel parameter 2016-09-25 11:39:46 -07:00
Josh Curl
b536e6ea35
Add functionality for installing and running a test image 2016-09-12 21:48:16 -07:00
Josh Curl
e4a94a81ef
Add autologin key to scripts/run 2016-08-22 11:20:04 -07:00
Josh Curl
6b4222888c
Refactor state 2016-07-27 23:25:08 -07:00
Josh Curl
128c228ff5
Add swap support in cloud config mounts 2016-06-22 21:50:29 -07:00
Darren Shepherd
5bf4d2c117 More build script changes 2016-05-31 21:11:03 -07:00
Darren Shepherd
d34ead2fbf Speed up build and run tests 2016-05-22 23:16:27 -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
e2f3ac78a7 cleanup tests using SSH 2016-03-31 18:56:18 -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
dc86eb8c6d scripts/run: enable KVM on arm/arm64 too 2016-03-23 13:28:05 -07:00
Ivan Mikushin
8802fe2c6e Run qemu and tests on different architectures 2016-03-17 04:30:11 -07:00
Ivan Mikushin
142ec23778 Build for ARM64 on ARM64, installer included 2016-03-14 12:08:11 -07:00
Ivan Mikushin
8b72377a3c generate os-config.yml 2016-02-26 17:46:55 -08: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
Ivan Mikushin
084fb43201 tweak tests 2015-12-11 17:38:00 +05:00
Ivan Mikushin
c79a64e42e remove dependency on version string
using rancher.rm_usr kernel param instead
2015-10-07 14:02:17 +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
65d99e6e8a ./scripts/run --no-format 2015-09-08 13:56:04 +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
Pepijn Bruienne
3565a3513b Fix sha1sum call to work on both Linux and Darwin. 2015-08-22 13:49:02 -04:00