1
0
mirror of https://github.com/rancher/os.git synced 2025-06-24 14:01:34 +00:00
Commit Graph

2371 Commits

Author SHA1 Message Date
niusmallnan
543f106689 Vendor changes, github.com/packethost/packngo v0.1.0 2017-12-19 17:08:15 +08:00
niusmallnan
60909e435f
Add aliyun datasource (#2169) 2017-12-19 14:33:44 +08:00
Sebastiaan van Steenis
7e912e12e8 Add docs on setting MTU when running on GCE 2017-12-18 18:26:46 +08:00
niusmallnan
2dda87e2c4 Fix the container name
https://github.com/rancher/os/issues/2176
2017-12-15 17:28:28 +08:00
niusmallnan
f87dc8078a Use docker-17.06.2-ce as default user docker 2017-12-15 11:07:07 +08:00
niusmallnan
47195af80a Update kernel 4.9.69-rancher 2017-12-15 11:07:00 +08:00
niusmallnan
bbe86be115
Merge pull request #2175 from niusmallnan/issues-2168
Only enable open-vm-tools serivce for vmware
2017-12-13 10:46:51 +08:00
niusmallnan
c47e8c5bf7 Only enable open-vm-tools serivce for vmware
https://github.com/rancher/os/issues/2168
2017-12-13 10:10:52 +08:00
niusmallnan
d79e5e8753 Update doc for v1.1.1 release 2017-12-12 15:24:57 +08:00
niusmallnan
c5748f31d5 Add publish_gs script 2017-12-12 15:03:02 +08:00
niusmallnan
75c4b3e020 Update version numbers and AMIs for v1.1.1 2017-12-12 11:42:24 +08:00
niusmallnan
65df13e0be User kernel v4.9.67-rancher 2017-12-08 09:00:00 +08:00
Julien Kassar
349203b058 Fix error typo in loadConsoleService func (#2112) 2017-12-07 15:55:40 +08:00
Max Schmitt
5ec984177d Fix not rendered markdown (#2147) 2017-12-07 15:49:16 +08:00
niusmallnan
6889096ff4
Merge pull request #2167 from niusmallnan/issues-2166
Fix golint check error
2017-12-07 10:03:52 +08:00
niusmallnan
7b474cd905 Fix golint check error
https://github.com/rancher/os/issues/2166
2017-12-06 13:45:49 +08:00
Chris Marchesi
2f8eaa3314
cmd/power: Set correct container name and ensure full command executed
This fixes a few issues that are preventing shutdown and friends from
behaving correctly:

* The command name, which is being used to determine via what command it
was being called (ie: shutdown, reboot, or halt) was not being parsed
for absolute paths. This was preventing certain logic from being handled
(example: enforcing a static time value of "now" for shutdown), but more
problematically was the fact that it was being used as the container
name being passed to runDocker, the function that launches the
independent shutdown container. This was causing the shutdown container
to fail as something like "/sbin/shutdown" is not a valid name for a
container. The logic to parse out the base command being run is actually
present in runDocker, but does not run if a name is supplied to the
function.

* Further, the command line was not being parsed in the shutdown
container if the name supplied to runDocker was non-empty. Rather, the
full command to run just became the name of the container. Hence,
something like "/sbin/shutdown -h now" became just "shutdown", executing
the default power off behaviour for all actions (including reboots).

* Further to this, open-vm-tools expects "/sbin/shutdown -h now" to be a
valid command to halt the system, which was not being recognized as the
only recognized short-form halt flag in shutdown was its capital version
(-H).

This fixes these three issues by parsing out the base of the called
command before sending it to reboot, using all of os.Argv as the command
line to run regardless of if a name was set for the container or not,
and finally adding the lowercase -h switch to the "shutdown" form of
this command ("halt" is still uppercase only).

Fixes rancher/os#2121.
Fixes rancher/os#2074.
2017-10-20 17:09:13 -07:00
Sven Dowideit
d8bba34a87 Merge pull request #2108 from SvenDowideit/update-the-kernel-module-docs
We don't use the Ubuntu kernels and DKMS anymore
2017-09-18 15:44:16 +10:00
Sven Dowideit
fda647eec3 Merge pull request #2106 from SvenDowideit/rpi64-4.9.50
rpi64 linux kernel 4.9.50
2017-09-18 15:43:51 +10:00
Sven Dowideit
f7327d764f Merge pull request #2104 from SvenDowideit/http-proxy-fix
Refactor a little so 'ros os list' also uses the configured proxy info
2017-09-18 15:43:38 +10:00
Sven Dowideit
d1971fbd0e Merge pull request #2099 from SvenDowideit/kubelet-volume-for-cadvisor
Quick fix to allow CAdvisor and kubelet to work
2017-09-18 15:43:23 +10:00
Sven Dowideit
5d82fcb029 we don't use DKMS anymore
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-09-18 13:35:48 +10:00
Sven Dowideit
0b8b0dc1e1 We don't use the Ubuntu kernels and DKMS anymore
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-09-18 13:33:22 +10:00
Sven Dowideit
2751745a59 rpi64 linux kernel 4.9.50
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-09-16 12:42:37 +00: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
28a487018e Quick fix to allow CAdvisor and kubelet to work
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-09-14 10:55:17 +10:00
Sven Dowideit
1b3395523c Merge pull request #2094 from rancher/revert-2070-master
Revert "Only add SSH configuration lines that are not set"
2017-09-13 22:08:34 +10:00
Sven Dowideit
a608098c39 Revert "Only add SSH configuration lines that are not set" 2017-09-13 22:07:52 +10:00
Sven Dowideit
4b6ffe752e Merge pull request #2089 from SvenDowideit/add-dhcp-debug-hook
add a debug dump of the dhcp server
2017-09-13 16:21:31 +10:00
Sven Dowideit
af000395b4 Merge pull request #2093 from SvenDowideit/bootstrap-logging
Make the bootstrap phase logable
2017-09-13 16:20:55 +10:00
Sven Dowideit
b92a7752f4 Make the bootstrap phase logable
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-09-13 16:13:15 +10:00
Sven Dowideit
42ae262c3f add alog rotate for the dhcpcd.debug.log file
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-09-12 21:07:43 +10:00
Sven Dowideit
ab9f22a954 make DHCP even debug print conditional on rancher.debug=true
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-09-12 20:56:19 +10:00
Sven Dowideit
a97854e089 add a debug dump of the dhcp server
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-09-12 16:04:18 +10:00
Sven Dowideit
449633abaa Merge pull request #2088 from SvenDowideit/ros-service-logs-f
allow shortened version: ros s logs -f network
2017-09-12 15:05:12 +10:00
Sven Dowideit
fa14b6960b Merge pull request #2086 from SvenDowideit/add-autoformat-logging
Log autoformat script output to /var/log/boot/autoformat.log
2017-09-12 15:04:41 +10:00
Sven Dowideit
2d65164e57 Merge pull request #2087 from SvenDowideit/another-resolv.conf-race
dhcpcd overwrites resolv.conf when releasing a lease
2017-09-12 15:04:16 +10:00
Sven Dowideit
21714bb8d3 allow shortened version: ros s logs -f network
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-09-12 15:04:03 +10:00
Sven Dowideit
5e57bc0c99 dhcpcd overwrites resolv.conf when releasing a lease
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-09-12 15:00:20 +10:00
Sven Dowideit
7feee617a7 Log autoformat script output to /var/log/boot/autoformat.log
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-09-12 13:54:28 +10:00
Sven Dowideit
6214ab5c19 Merge pull request #2084 from SvenDowideit/linux-4.9.49
linux kernel 4.9.49
2017-09-12 11:24:30 +10:00
Sven Dowideit
70bcc448b7 linux kernel 4.9.49
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-09-12 11:23:50 +10:00
Sven Dowideit
86574b8b61 Merge pull request #2070 from vincent99/master
Only add SSH configuration lines that are not set
2017-09-12 11:12:34 +10:00
Vincent Fiduccia
6a87cc6556
Only add ssh options that aren't set 2017-09-01 01:10:57 -07:00
Sven Dowideit
f34acf272c Merge pull request #2069 from SvenDowideit/linux-4.9.46
linux-4.9.46
2017-09-01 13:33:06 +10:00
Sven Dowideit
bd8e8d051b linux-4.9.46
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-09-01 03:32:23 +00:00
Sven Dowideit
bb0cc11e93 Merge pull request #2068 from SvenDowideit/v1.1.0-docs
V1.1.0 docs
2017-09-01 12:08:14 +10:00
Sven Dowideit
8b5efd8d47 update version numbers and AMIs
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-08-30 13:48:01 +10:00
Sven Dowideit
48b2dee10e Add v1.0 and v1.1 navigation
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-08-30 13:00:55 +10:00