Sven Dowideit
aef937609e
Working out why linuxkit crashes in bootup by labeling init stages
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-05-03 13:09:39 +10:00
Sven Dowideit
e05f30c4fc
Simplify the network setup
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-04-20 14:58:11 +00:00
Sven Dowideit
79a7e59adb
defer udevsettle to cloud-init-save container
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-04-06 11:49:35 +00:00
Sven Dowideit
748be0ad66
Move the ApplyNetwork back to init where dhcp can run, and fix the tests for scope global
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-28 21:13:22 +10:00
Sven Dowideit
59a752c306
Use the partial cfg for the initial network
...
and release the network device from dhcp if we're not using it
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-26 11:49:14 +00: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
27f11ec6c2
set the permissions for /var/lib/rancher/conf to 0700
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-13 11:44:47 +00:00
Sven Dowideit
4126cdbba7
copy the network.yml over the switchroot too
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-09 09:59:47 +10:00
Sven Dowideit
391082fa50
refactor a little and keep the datasource errors for later
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-04 08:05:28 +00:00
Sven Dowideit
a4e77692c4
My first pass at fixing the b2d autoformat
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-22 06:43:04 +00:00
Josh Curl
40100ffa7c
Load modules after running PrepareFs
2016-12-01 11:27:33 -08:00
Josh Curl
d53452a7eb
Show output for modprobe calls
2016-12-01 11:16:53 -08:00
Sven Dowideit
4df962d4b6
make ros log to dmesg
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-30 10:51:30 +10:00
Josh Curl
a7c34b9855
Fix golint errors
2016-11-28 00:06:00 -08:00
Josh Curl
13b34a6668
Early cloud-init
2016-11-09 11:08:30 -08:00
Josh Curl
691f7cb42c
Move in code from netconf and docker-from-scratch
2016-10-19 16:21:35 -07:00
Darren Shepherd
e5293ff926
Merge pull request #1239 from joshwget/docker-arguments-map
...
Use a map to configure Docker arguments
2016-09-26 21:36:36 -07:00
Josh Curl
32b2ccda1e
Ignore error creating /var/lib/system-docker if it already exists
2016-09-25 20:37:55 -07:00
Josh Curl
065fe4a16e
Use a map to configure Docker arguments
2016-09-25 17:55:19 -07:00
Josh Curl
21cf86665b
Use runc exec to start User Docker
2016-09-09 09:06:23 -07:00
Josh Curl
6b4222888c
Refactor state
2016-07-27 23:25:08 -07:00
Josh Curl
73ea4c9bcd
Remove rkt support
2016-06-17 16:49:12 -07:00
Darren Shepherd
ecc8482666
Make /run shared, also don't rshare in initrd
2016-06-17 08:04:35 -07:00
Darren Shepherd
924e4b8aae
/media and /mnt mounted as shared for console
2016-06-15 16:45:05 -07:00
Josh Curl
e4019385aa
Merge remote-tracking branch 'origin/v0.5' into HEAD
2016-06-13 22:00:34 -07:00
Josh Curl
a5273d922e
Revert "/media and /mnt mounted as shared for console"
2016-06-13 14:53:47 -07:00
Darren Shepherd
f410c678ba
Make shared mount work in an initrd
2016-06-07 18:01:49 -07:00
Josh Curl
9f0074c398
/media and /mnt mounted as shared for console
2016-06-07 12:09:10 -07:00
Darren Shepherd
8ab32c820f
Docker 1.11.1
2016-06-03 11:38:25 -07:00
Darren Shepherd
71c8f40ffe
Merge pull request #972 from joshwget/boot-with-invalid-config
...
Fix boot issues due to invalid configs
2016-06-02 19:27:23 -06:00
Josh Curl
08f40ad3e7
Fix boot issues due to invalid configs
2016-06-01 18:41:55 -07:00
Josh Curl
e51c5409aa
Move default hostname and network under common key
2016-05-31 22:27:04 -07:00
Josh Curl
95d8ebe146
Simplify configuration
2016-05-31 14:34:04 -07:00
Josh Curl
2968bed32e
Revert "/media and /mnt mounted as shared for console"
2016-05-07 15:08:39 -07:00
Darren Shepherd
a9ca80d47d
Merge pull request #917 from joshwget/proxy-settings
...
HTTP proxy settings can be set in cloud config
2016-05-07 12:56:52 -07:00
Josh Curl
ae543ab167
HTTP proxy settings can be set in cloud config
2016-05-06 16:25:07 -07:00
Josh Curl
7241390042
/media and /mnt mounted as shared for console
2016-05-04 16:18:24 -07:00
Josh Curl
8862878337
Remove DHCP override flag
2016-04-15 10:38:31 -07:00
Josh Curl
97774f78a9
Remove --boot flag in ros config export
2016-04-11 22:07:59 -07:00
Josh Curl
f28d463504
Enable SELinux
2016-02-19 16:11:32 -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
Darren Shepherd
77242012e7
Change OEM log message
2016-02-04 09:06:16 -07:00
Darren Shepherd
1a95080522
Support OEM partition and oem-config.yml
2015-12-22 17:03:50 -07:00
Darren Shepherd
cd2829d220
Farewell PID one
...
This change no longer runs Docker as PID 1. Instead PID 1 is a very
simple zombie reaper and Docker is moved as a child of that PID.
2015-12-22 15:38:32 -07:00
Darren Shepherd
808fbdbe1f
Use a subdirectory of the state partition
2015-12-22 15:16:22 -07: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
Ivan Mikushin
338abb758f
Reshuffle cloud-config
...
Read files cloud-config.d in alphanumeric order, then cloud-config.yml
`ros config` writes to cloud-config.yml (and cloud-config.d/private.yml - only private keys)
Add (c *CloudConfig) Save() method, use it to save the changed config
Read and apply metadata as part of LoadConfig()
Simplify ros config export logic
2015-09-30 23:59:22 +05:00
Darren Shepherd
3a3270f2c6
Fix systemd emulation
2015-09-18 22:27:53 -07:00