1
0
mirror of https://github.com/rancher/os.git synced 2025-07-13 06:34:04 +00:00
Commit Graph

186 Commits

Author SHA1 Message Date
Josh Curl
4677af8419
Implement runcmd 2016-08-22 13:22:27 -07:00
Josh Curl
11cf2a195b
Show current/enabled/disabled in 'ros engine list' 2016-08-17 16:33:49 -07:00
Josh Curl
80c72d0761
Make it easier to switch between Docker engines 2016-08-15 15:06:26 -07:00
Josh Curl
0a053c62ab
Extend write_files to run in all system services 2016-08-15 11:14:50 -07:00
Josh Curl
c67475cbaa
Rewrite console.sh and docker-init in Go 2016-08-12 11:40:56 -07:00
Josh Curl
6b4222888c
Refactor state 2016-07-27 23:25:08 -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
Ivan Mikushin
b6edde6052 Do not lose ssh keys from metadata if there are no ssh keys in cloud-config 2016-06-30 14:21:41 -07:00
Josh Curl
b09c09edf4
Fix two instances where customization isn't respected 2016-06-28 14:35:51 -07:00
Josh Curl
921c00c8ea
Add sysctl support in cloud config 2016-06-17 23:05:45 -07:00
Josh Curl
07cc5a430a
Make rancher.debug control bootstrap Docker and turn on log 2016-06-17 09:41:33 -07:00
Josh Curl
f850e151de
Validate value for 'ros config set' 2016-06-16 10:14:52 -07:00
Darren Shepherd
924e4b8aae /media and /mnt mounted as shared for console 2016-06-15 16:45:05 -07:00
Josh Curl
f24facc06c
Additional mounts can be set in cloud config 2016-06-14 15:25:56 -07:00
Josh Curl
7f7d8765ca
New console label to handle switching between persistent consoles 2016-06-10 10:54:10 -07:00
Josh Curl
9658d3bffd
Replace resize system service with cloud config option 2016-06-07 09:53:41 -07:00
Josh Curl
719d255636
First class consoles 2016-06-06 15:13:15 -07:00
Darren Shepherd
8ab32c820f Docker 1.11.1 2016-06-03 11:38:25 -07:00
Josh Curl
adb5635186
Support registry credentials in cloud config 2016-06-02 19:00:42 -07:00
Darren Shepherd
4ab3162ed8 Merge pull request #973 from joshwget/remove-unneeded-code
Remove unneeded service processing code
2016-06-02 19:28:17 -06: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
Darren Shepherd
5659173628 Merge pull request #962 from joshwget/atomic-writes
Atomic writes
2016-06-02 19:26:44 -06:00
Josh Curl
4f48569cb2
Atomic writes 2016-06-02 14:32:26 -07:00
Josh Curl
55d629b980
Remove unneeded service processing code 2016-06-02 09:01:00 -07: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
a59ec33787
Fix --private flag for 'ros config export' 2016-05-31 18:10:56 -07:00
Josh Curl
95d8ebe146
Simplify configuration 2016-05-31 14:34:04 -07:00
Josh Curl
42e48476e7 Sync with libcompose 2016-05-23 17:21:28 -07:00
Darren Shepherd
cd84bd8cf6 Merge pull request #896 from joshwget/ros-config-set-default-value
Fix setting default values with 'ros config set'
2016-05-02 13:24:54 -07:00
Darren Shepherd
c94f2451d4 Merge pull request #897 from datawolf/fix-set-rancher.debug-error
Remove `-D` when we set rancher.debug=false
2016-05-02 13:24:32 -07:00
Wang Long
fa98165862 Remove -D when we set rancher.debug=false
when we set rancher.debug to true, the current code also set `-D` flag
to system-docker and user-docker daemon.
and then we change rancher.debug to false, the `-D` flag is also exist
by using command `sudo ros config get rancher.docker`.

this patch fix it.

Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-04-29 09:55:42 +08:00
Darren Shepherd
f15967a7a3 Merge pull request #890 from joshwget/add-upgrade-console-flag
Add upgrade flag to upgrade persistent console
2016-04-25 10:50:37 -07:00
Josh Curl
6ab32ae19c Fix setting default values with 'ros config set' 2016-04-22 16:11:54 -07:00
Josh Curl
ee73337f49 Add upgrade flag to upgrade persistent console 2016-04-18 17:00:18 -07:00
Josh Curl
8862878337 Remove DHCP override flag 2016-04-15 10:38:31 -07:00
Darren Shepherd
8b4e6cc502 Merge pull request #881 from joshwget/fix-dhcp-hostname
Fix DHCP hostname being overwritten
2016-04-14 21:59:38 -07:00
Josh Curl
a0ae6222c9 Fix DHCP hostname being overwritten 2016-04-14 21:58:07 -07:00
Josh Curl
53acef17cd Use yaml.Unmarshal to handle config arguments 2016-04-14 17:04:00 -07:00
Josh Curl
b52663ee5f Fix config/config_test.go 2016-04-13 10:26:41 -07:00
Josh Curl
97774f78a9 Remove --boot flag in ros config export 2016-04-11 22:07:59 -07:00
Josh Curl
8f6ee9ee05 Revert "Use yaml.Unmarshal to handle config arguments" 2016-04-05 10:00:12 -07:00
Josh Curl
c0c8179813 ros config get shows default values 2016-03-31 21:31:46 -07:00
Darren Shepherd
c459937d90 Merge pull request #834 from joshwget/unmarshal-args-as-yaml
Use yaml.Unmarshal to handle config arguments
2016-03-31 11:44:44 -07:00
Ivan Mikushin
ee9c21c5f1 Use docker images for the current architecture (vs just for amd64)
Fix #828, #835
2016-03-29 10:29:56 -07:00
Josh Curl
6e6233bd86 Use yaml.Unmarshal to handle config arguments 2016-03-28 16:36:59 -07:00
Darren Shepherd
6f98e06d97 Fix ros config set for list values 2016-02-11 09:25:48 -07:00
Darren Shepherd
ce915927be Fix issue with depulicate ssh keys after save
The CloudConfig.Save() did not load the metadata resulting in the diff
function always thinking the SSH keys were new.  This would cause them
to be saved over and over again just getting bigger and bigger.
2016-02-04 09:13:20 -07:00
Darren Shepherd
2cbde58c30 Revert "Remove unused SshConfig type"
This reverts commit 246791d325.
2016-01-28 08:27:17 -07:00
Darren Shepherd
618cd741d8 Sort SSH keys from metadata so that diff functions will be consistent 2016-01-28 08:11:54 -07:00