1
0
mirror of https://github.com/rancher/os.git synced 2025-08-02 07:24:28 +00:00
Commit Graph

496 Commits

Author SHA1 Message Date
niusmallnan
823ae28a52 Imports are organized in groups, with blank lines between them
https://github.com/golang/go/wiki/CodeReviewComments#imports
2018-10-23 13:11:31 +08:00
Jason-ZW
ef663b4e70 Add dhcp timeout parameter 2018-10-23 09:47:43 +08:00
niusmallnan
7c13d76066 Check the tty before adding to respawn.conf 2018-10-18 13:33:43 +08:00
niusmallnan
1a2c711d1e Add more logs for respawn 2018-10-18 13:33:43 +08:00
niusmallnan
ab4e0e590b Fix a bug when installing ros to disk with noformat.
The cloud-config files cannot written to RANCHER_STATE disk when users
set the RANCHER_BOOT partition.
2018-10-15 17:43:21 +08:00
Jason-ZW
4cb09e2ac6 Add friendly tips on ros config syslinux 2018-10-10 10:06:08 +08:00
niusmallnan
90e88cf2b4 Add cloud-config for noformat install-type 2018-10-08 15:17:20 +08:00
Jason-ZW
1ffab0c1e1 Get all services via ros service list --all 2018-10-08 14:53:26 +08:00
niusmallnan
f19e3a5b38 Revert commit 9bcab2f663
Cloud-init needs to read datasources data after mount-state,so mount-state needs to be executed first.
We must fix the 'udevsettle' issue on hyper-v later.
2018-09-30 17:36:42 +08:00
niusmallnan
eeebf0ae0f Mount the boot partition when booting
Also update StateDir and OemDir for better clarity
2018-09-30 15:09:51 +08:00
Olle Jonsson
0b5002fa47 cloudinitsave: Fix typo in log output 2018-09-27 13:52:05 +08:00
Darren Shepherd
1f50386828 Move around code for better clarity 2018-09-19 17:18:49 +08:00
niusmallnan
d7f47925a1 Start rngd before format the disk 2018-09-14 16:48:54 +08:00
Jason-ZW
6a676a9b82 Option to ignore rancher.password 2018-08-22 13:41:12 +08:00
Jason-ZW
038bb6d89b Option to disable login prompt 2018-08-22 13:41:12 +08:00
niusmallnan
9d3dd8796e Make sure that DOCKER_RAMDISK can be set correctly because we changed the user-docker directory 2018-07-27 18:40:59 +08:00
Jason-ZW
f6ebb5002e Add systemd cgroup directory 2018-07-24 14:23:19 +08:00
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
niusmallnan
7ef84fbbe9 Update engine list for multiple user-docker support 2018-07-11 15:51:59 +08:00
Jason-ZW
0821c9a4ea Add multi docker command 2018-07-10 14:16:59 +08:00
stffabi
05c2a40aa5 Decompress user-data if it is gzipped
Fixes #2391
2018-06-26 23:01:01 +08:00
niusmallnan
b4cd6af468 Update all go files mode 2018-04-16 11:30:08 +08:00
stffabi
ccc330a43e add cloud-init support for cloudstack 2018-04-13 09:42:19 +02:00
Jason-ZW
80c99642b2 enhance preload timing issue 2018-04-02 05:31:14 +00:00
Jason-ZW
00956038f9 Add decode logic for writefiles 2018-03-26 06:32:15 +00:00
niusmallnan
2df6bdcd66 Add kernel.panic parameter for cmdline 2018-03-26 10:22:22 +08:00
niusmallnan
fc17e89393
Also check the label RANCHEROS (#2285) 2018-03-14 18:35:30 +08:00
Chris Marchesi
7d86fa5f8b
cmd/power: Another shutdown command fix
It looks like some arguments for shutdown/halt/poweroff have been moved
to a conditional block that works off of how the command was actually
called. However, this value is derived from argv 0, without any sort of
normalization to make sure it matches the relative commands used to
determine how arguments are handled.

This has particular implications when power management commands are
called via absolute commands, as for example in the case of
open-vm-tools which calls /sbin/shutdown -h now specifically when
shutting down a system.

This corrects the situation by passing argv 0 through filepath.Base
before operating on it.
2018-03-06 14:16:44 -08:00
niusmallnan
f6a76a10ae
Config ROS image prefix for install and all rancher/os services (#2272) 2018-03-06 18:07:21 +08:00
niusmallnan
67961c9349 Support to configure ssh port and listen address 2018-03-05 16:39:30 +08:00
niusmallnan
34b7ab73c7 Remove import system-docker 2018-02-28 15:43:08 +08:00
niusmallnan
43f483a5ef Support higher verion docker-ce as system-docker 2018-02-27 23:44:22 +08:00
niusmallnan
a7ba5d045b Remove system-docker syslink 2018-02-27 23:44:22 +08:00
niusmallnan
22cac7abed
Adjust the parameter upgrade-console order (#2246) 2018-02-05 16:22:16 +08:00
niusmallnan
1c2e55ed17
Fixes the following scenario can not reboot (#2236)
1. use ros install
2. use ros os upgrade
2018-01-25 16:25:09 +08:00
Julien Kassar
82aaa413f5 Fix format 'verbs' (#2115) 2018-01-25 09:47:17 +08:00
Julien Kassar
a08ad16a01 Replace Sirupsen/logrus package with rancher/os/log (#2114) 2018-01-24 17:57:02 +08:00
niusmallnan
6bd6f0c43c
Fix shutdown -h command (#2234) 2018-01-24 17:53:52 +08:00
niusmallnan
b512a9336a Fix go fmt 2018-01-23 18:09:59 +08:00
niusmallnan
992142b8ea
Merge branch 'master' into shutdown-reboot-arg-fix 2018-01-23 18:01:29 +08:00
niusmallnan
7250ee8ab4 Add more logs for networking conf 2018-01-19 22:42:01 +08:00
niusmallnan
e58456ead9
Add more friendly error message for ros install (#2225) 2018-01-17 17:06:07 +08:00
niusmallnan
480e45cd01
Report image version when using ros version subcommand (#2213) 2018-01-08 17:58:43 +08:00
niusmallnan
493e12b9a3
Support for updating PATH variables (#2203) 2018-01-03 15:30:36 +08:00
niusmallnan
3b92e04065
Support URL when using ros install -c (#2202) 2018-01-02 17:17:43 +08:00
niusmallnan
f458e0408d
Add more logs for preload-images action and elegant close some files (#2196) 2017-12-29 13:24:51 +08:00
niusmallnan
55368a3897
Auto resize root disk on AWS (#2191) 2017-12-26 17:59:08 +08:00
niusmallnan
60909e435f
Add aliyun datasource (#2169) 2017-12-19 14:33:44 +08:00
niusmallnan
2dda87e2c4 Fix the container name
https://github.com/rancher/os/issues/2176
2017-12-15 17:28:28 +08:00
niusmallnan
7b474cd905 Fix golint check error
https://github.com/rancher/os/issues/2166
2017-12-06 13:45:49 +08:00