1
0
mirror of https://github.com/rancher/os.git synced 2025-06-03 20:30:15 +00:00
Commit Graph

36 Commits

Author SHA1 Message Date
Sven Dowideit
67d932d9f8 Initial fix to stop other containers before the console
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-07-31 03:12:05 +00:00
Josh Curl
fecbb9df2e Recovery console 2017-07-14 21:15:42 +10:00
Sven Dowideit
2d92956c82 Revert "WIP New ros cli" 2017-03-14 12:11:24 +10:00
Sven Dowideit
355859e707 golint&gofmt
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-13 12:56:54 +00:00
Sven Dowideit
2cd6ec4db6 move the new cli to 'os' - its very experimental atm
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-13 12:56:54 +00: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
93cd0877dd Initial spike on the new cmdline
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
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
Sven Dowideit
100d85149f Merge pull request #1338 from joshwget/move-to-ros-subcommands
Move more commands to subcommands of ros
2016-11-01 12:58:51 +10:00
Josh Curl
21fb3ebfa9
Move more commands to subcommands of ros 2016-10-31 19:16:21 -07:00
Josh Curl
3685461692
Switch from imported libcompose service commands to customized ones 2016-10-23 16:20:32 -07:00
Josh Curl
8665960ff2
Hide various internal commands 2016-10-20 00:19:47 -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
0a053c62ab
Extend write_files to run in all system services 2016-08-15 11:14:50 -07:00
Josh Curl
719d255636
First class consoles 2016-06-06 15:13:15 -07:00
Wang Long
6617eab12f print proper tips when running ros or system-docker without using sudo
`ros` and `system-docker` command requires user to be the root user,
when we running them without using sudo, it will print the follow:

[rancher@rancher ~]$ ros os list
ERRO[0000] Failed to read /var/lib/rancher/conf/cloud-config.d: open
/var/lib/rancher/conf/cloud-config.d: permission denied
ERRO[0000] Error reading config files                    err=open
/var/lib/rancher/conf/cloud-config.yml: permission denied
files=[/var/lib/rancher/conf/cloud-config.yml]
ERRO[0000] Failed [1/4] 25%
ERRO[0000] Failed to load config
......
......
FATA[0000] open /var/lib/rancher/conf/cloud-config.yml: permission
denied

and

[rancher@rancher ~]$ system-docker restart docker
Failed to kill container(docker): Cannot connect to the Docker daemon.
Is the docker daemon running on this host?

this patch make the tips more clear and simple.

Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-03-16 17:50:54 +08:00
Josh Curl
d1abe590dd SELinux tools command 2016-02-22 21:35:15 -08: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
Darren Shepherd
397b2a9822 Move ros compose to ros service sub commands 2015-10-01 15:48:19 -07:00
Darren Shepherd
e25c59f1ab Create ros compose command 2015-09-22 11:17:15 -07:00
Ivan Mikushin
e486b7e218 ros install 2015-08-25 17:20:40 +05:00
Darren Shepherd
9d76b79ac3 Refactor to use libcompose 2015-08-06 00:05:25 -07:00
Ivan Mikushin
b7b52c65a1 ros dev spec
find device using blkid spec
2015-07-21 13:34:55 +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
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
Darren Shepherd
bedb10c85e Rename addon to service 2015-04-06 07:28:17 -07:00
Darren Shepherd
5877e586b8 Refactor default configuration 2015-03-18 06:45:22 -07:00
Darren Shepherd
63a1c50f27 Refactor TLS command 2015-03-18 06:45:22 -07:00
Darren Shepherd
1c5ac9f410 gofmt 2015-02-23 12:00:33 -07:00
Darren Shepherd
c0cee91cd1 Add addon to rancherctl 2015-02-22 20:59:44 -07:00
sidharthamani
0b31dc7e3b move tlsconf to rancherctl 2015-02-21 13:42:42 -08:00
sidharthamani
594db8fd8c add upgrade framework for rancherctl os command 2015-02-21 12:21:56 -08:00
Darren Shepherd
d3b42ca16c Implement config export 2015-02-17 14:31:37 -07:00