1
0
mirror of https://github.com/rancher/os.git synced 2025-06-30 16:51:47 +00:00
Commit Graph

72 Commits

Author SHA1 Message Date
niusmallnan
5811357c58 Fix bugs for multiple user docker daemons:
1. Optimize the remove logic of the dind engine
2. Distinguish between user docker engine and Dind engine
2018-07-16 15:10:07 +08:00
Jason-ZW
0821c9a4ea Add multi docker command 2018-07-10 14:16:59 +08:00
niusmallnan
b4cd6af468 Update all go files mode 2018-04-16 11:30:08 +08:00
niusmallnan
3b92e04065
Support URL when using ros install -c (#2202) 2018-01-02 17:17:43 +08:00
niusmallnan
7b474cd905 Fix golint check error
https://github.com/rancher/os/issues/2166
2017-12-06 13:45:49 +08:00
Sven Dowideit
4769f143cf set the http_proxy env vars for the consoles
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-09-15 23:38:15 +10:00
Sven Dowideit
baee5d18ea Refactor a little so 'ros os list' also uses the configured proxy info
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-09-15 13:47:21 +10:00
Sven Dowideit
5dfc818303 Stop overwriting a good resolv.conf file with the default one
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-08-29 10:10:47 +10:00
Sven Dowideit
f793518aa6 Get RancherOS logging to throw debug logs to a remote syslog server when the kernel netconsole is configured
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-08-17 08:42:37 +10:00
Sven Dowideit
cbfe50c5ee Copy init and cloud-init-save logs from before switchroot
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-07-18 14:13:11 +10:00
Sven Dowideit
47261eab01 Increase the loggings for service failures at boot time
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-07-11 20:43:00 +10:00
Sven Dowideit
3b4d73e106 Risky: remove 50s for loop delay on network failure (I think its remplaced by the dhcpcd --wait)
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-07-11 18:03:38 +10:00
gizmotronic
b1d9732f65 Create mount points for non-swap mounts; fixes #1506 2017-06-28 23:44:07 -05:00
Sven Dowideit
15699a253c Fixed install --partition and added scripts/run-install
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-24 12:39:40 +00:00
Sven Dowideit
ab3c508a39 fix for alpine's simpler blkid cmd
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-23 01:31:35 +00:00
Sven Dowideit
2d92956c82 Revert "WIP New ros cli" 2017-03-14 12:11:24 +10:00
Sven Dowideit
dc540a0cf0 get started on the new cli
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-13 12:56:54 +00:00
Sven Dowideit
8d941162d8 ros list shows all the active services and any cache available updates
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-13 12:56:54 +00:00
Sven Dowideit
9a75d2d5b4 hashicorp version pkg uses alpha sort on -rc11 metadata - so switching to Josh's catalog pkg
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-02-10 00:38:22 +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
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
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
c1abc67fa8
Support string values for runcmd 2016-11-07 11:36:37 -08:00
Josh Curl
bb4ad618e1
Implement bootcmd 2016-11-03 15:06:20 -07:00
Josh Curl
a7d405991c
Rewrite a few scripts in Go and remove unneeded services 2016-10-17 14:47:44 -07:00
Josh Curl
80c72d0761
Make it easier to switch between Docker engines 2016-08-15 15:06:26 -07:00
Josh Curl
c67475cbaa
Rewrite console.sh and docker-init in Go 2016-08-12 11:40:56 -07:00
Ivan Mikushin
22887dfb0b Unescape kernel params
so kernel params like rancher.cloud_init.datasources='["url:http://10.0.2.2:8800/cc.yml"]' could be used
2016-07-15 15:03:17 -07:00
Josh Curl
d0607ee68f
Go DNS patch based on build tag 2016-06-27 20:05:44 -07:00
Josh Curl
e4019385aa
Merge remote-tracking branch 'origin/v0.5' into HEAD 2016-06-13 22:00:34 -07:00
Josh Curl
b436cdff4d
Fix network caching 2016-06-09 16:27:47 -07:00
Josh Curl
719d255636
First class consoles 2016-06-06 15:13:15 -07:00
Josh Curl
4f48569cb2
Atomic writes 2016-06-02 14:32:26 -07:00
Josh Curl
95d8ebe146
Simplify configuration 2016-05-31 14:34:04 -07:00
Josh Curl
6ec9ce1bc6 Replace wait-for-network services with retries 2016-05-26 18:54:42 -07:00
Josh Curl
69fe4bb619 Cache remote repos and service definitions 2016-05-25 09:40:28 -07:00
Josh Curl
ae543ab167 HTTP proxy settings can be set in cloud config 2016-05-06 16:25:07 -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
Josh Curl
c0c8179813 ros config get shows default values 2016-03-31 21:31:46 -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
142ec23778 Build for ARM64 on ARM64, installer included 2016-03-14 12:08:11 -07:00
Ivan Mikushin
5a363ab97d migrate to upstream libcompose in one and a half go 2015-12-07 18:17:57 +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
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
Ivan Mikushin
e486b7e218 ros install 2015-08-25 17:20:40 +05:00
Ivan Mikushin
4d6530be73 slices union and intersection
useful for merging and splitting configs
2015-08-21 17:07:45 +05:00
Ivan Mikushin
aa1af05d46 do not panic 2015-08-20 18:06:48 +05:00
Darren Shepherd
9d76b79ac3 Refactor to use libcompose 2015-08-06 00:05:25 -07:00
Ivan Mikushin
7ad60c07bd make cloud-config the configuration mechanism for RancherOS 2015-08-05 19:48:25 +05:00