1
0
mirror of https://github.com/rancher/os.git synced 2025-05-31 19:06:17 +00:00
Commit Graph

41 Commits

Author SHA1 Message Date
niusmallnan
929bb5abce Fix golint check error
https://github.com/rancher/os/issues/2166
2018-01-26 17:03:35 +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
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
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
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
69fe4bb619 Cache remote repos and service definitions 2016-05-25 09:40:28 -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
5a363ab97d migrate to upstream libcompose in one and a half go 2015-12-07 18:17:57 +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
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
Ivan Mikushin
ad832471a1 isolate and mark platform dependent code
now unit tests compile on OS X and (some of them) work
2015-07-17 16:43:09 +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
dd4ed8d888 Return result instead of empty slice 2015-05-26 14:00:18 -07:00
Ivan Mikushin
38167f821b use SplitN instead of manual split 2015-04-30 13:43:45 +05:00
Ivan Mikushin
d62eb3de5d rancherctl env subcommand
Usage:
rancherctl env <command>

Executes <command> with environment from rancher.environment. Real env vars override those from rancher.environment.
2015-04-29 15:43:06 +05:00
wlan0
505174db35 set hostname from cloud-init 2015-04-21 19:06:40 -07:00
Darren Shepherd
7996c6b656 Change log level 2015-04-17 06:37:56 -07:00
Darren Shepherd
0b5eb352ba Services in compose format 2015-04-15 23:17:01 -07:00
Darren Shepherd
be8fa8e5b7 Services as compose format 2015-04-15 23:17:00 -07:00
Darren Shepherd
c7ae14cc13 Refactor configuration to compose syntax 2015-04-04 05:42:48 -07:00
Darren Shepherd
3756bbae90 Reliably merge the yaml maps data 2015-03-18 06:45:22 -07:00
Darren Shepherd
ac2459ba37 Refactor configuration 2015-03-18 06:45:21 -07:00
Darren Shepherd
7fd1091b6e Refactor tlsconf 2015-02-19 13:48:10 -07:00
sidharthamani
597a46c574 wire up tls config 2015-02-18 13:29:28 -08:00
Darren Shepherd
9f1a38f8c8 gofmt changes 2015-02-17 17:31:19 -07:00
sidharthamani
707894d594 tls key generation 2015-02-17 15:27:13 -08:00
Darren Shepherd
925a847ccc Add tty and half way broken state handling 2015-02-16 16:38:49 -07:00
Darren Shepherd
c997143d22 Start initial support of running in Docker 2015-02-14 09:35:12 -07:00
Darren Shepherd
df4a126175 Initial commit 2015-02-08 21:38:37 -07:00