1
0
mirror of https://github.com/rancher/os.git synced 2025-06-22 21:17:02 +00:00
Commit Graph

61 Commits

Author SHA1 Message Date
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
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
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
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
890052273e log bootstrap and autoformat services 2015-07-22 19:18:43 +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
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
Ivan Mikushin
2379bd9721 use exec to replace the bash process with qemu 2015-05-10 15:33:51 +05:00
Ivan Mikushin
26aae6303f ./scripts/ssh convenience script
run `./scripts/ssh` to easily ssh into the RancherOS KVM instance started with `./scripts/run`
2015-05-10 14:11:11 +05:00
Ivan Mikushin
3a5f2bcb9b fix arg use conflict: add --cloud-config parameter 2015-04-29 17:19:59 +05:00
Ivan Mikushin
c5676987a9 use an arg instead of a magic location for a user supplied cloud-config 2015-04-29 17:19:59 +05:00
Ivan Mikushin
3511343f46 ./scripts/run: provision tmp/cloud-config.yml as cloud-config 2015-04-29 17:19:59 +05:00