niusmallnan
3961aa6855
Fix the wrong symlinks when using the custom docker engine
2019-08-15 15:21:09 +08:00
niusmallnan
41b562c01f
Use double-quoted string for writing proxy.sh
...
Presence of special characters (i.e. &) in proxy environment values causes generation of an invalid /etc/profile.d/proxy.sh file.
This is a problem due to the common inclusion of special characters in passwords and proxy strings of the format htt[p|s]://user:pass@url:port.
2019-05-28 09:32:38 +02:00
niusmallnan
4546fac3c2
Keep the sshd config file when using the previous console version
2019-04-30 05:28:04 +02:00
niusmallnan
7ff814f89c
Remove unused entryponts in Main func
2019-03-18 16:56:17 +08:00
Jason-ZW
6735a98447
Add /run/utmp file
2019-03-11 13:11:43 +08:00
niusmallnan
cb1e6cc1d1
Generate sshd_config by go template
2019-02-05 15:52:23 +08:00
Jason-ZW
f30b6f4df2
Add docker-18.09.0
2019-01-07 15:48:51 +08:00
hailong
4d834140d0
Add docker Bash completion for other consoles
2019-01-02 13:17:38 +08:00
niusmallnan
b419db198c
Make /run/lock dir in console
2018-12-07 14:11:00 +08:00
niusmallnan
922fd63f61
Add iptables symlinks in console
2018-11-01 18:03:20 +08:00
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
niusmallnan
7c13d76066
Check the tty before adding to respawn.conf
2018-10-18 13:33:43 +08:00
Darren Shepherd
1f50386828
Move around code for better clarity
2018-09-19 17:18:49 +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
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
Jason-ZW
0821c9a4ea
Add multi docker command
2018-07-10 14:16:59 +08:00
niusmallnan
67961c9349
Support to configure ssh port and listen address
2018-03-05 16:39:30 +08:00
niusmallnan
493e12b9a3
Support for updating PATH variables ( #2203 )
2018-01-03 15:30:36 +08: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
a608098c39
Revert "Only add SSH configuration lines that are not set"
2017-09-13 22:07:52 +10:00
Vincent Fiduccia
6a87cc6556
Only add ssh options that aren't set
2017-09-01 01:10:57 -07:00
Sven Dowideit
f793518aa6
Get RancherOS logging to throw debug logs to a remote syslog server when the kernel netconsole is configured
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-08-17 08:42:37 +10:00
Sven Dowideit
7fb9afe39c
Rename sshd disable cfg to rancher.ssh.disable
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-07-17 11:15:54 +10:00
Sven Dowideit
765a7c3ed4
Add a Recovery console prompt
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-07-16 11:50:01 +10:00
Sven Dowideit
6fcc1e3967
fix current console detection
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-07-14 21:15:47 +10:00
Sven Dowideit
553fed3eea
Add the recovery console to the boot menu
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-07-14 21:15:42 +10:00
Sven Dowideit
45e422d01e
Add an autologin that allows us to fix the stty
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-07-14 21:15:42 +10:00
Josh Curl
fecbb9df2e
Recovery console
2017-07-14 21:15:42 +10:00
Sven Dowideit
85436f675b
Merge pull request #1883 from SvenDowideit/detect-vm-and-load-vm-service
...
Detect hypervisor and start its driver service plus vmware cloud-init datasource
2017-07-07 10:50:32 +10:00
Sven Dowideit
437034cb48
Merge pull request #1447 from tetatetit/serial-console-online.net-fixed
...
Fixed serial console login did not work on Online.net and it daughter …
2017-06-20 10:34:26 +10:00
Sven Dowideit
e37b7c5331
Make it work consistently for kvm too
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-06-15 23:37:44 +10:00
Sven Dowideit
5941a6ac4b
add docker-init to console init
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-04-24 23:21:03 +00:00
Julien Kassar
ff35f9a5aa
Add createHomeDir function in console_init.go
2017-02-17 14:05:39 -05:00
Sven Dowideit
5cd881b791
will this make console.sh for non-upgraded persistent consoles?
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-02-03 01:05:37 +00:00
Sven Dowideit
569811d1f0
Darn, that was 81 chars
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-25 09:38:45 +00:00
Sven Dowideit
1b8d869199
Add Ros version and TM to banner, and move dmesg console logging into respawn
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-01-24 11:33:01 +00:00
Josh Curl
f906142534
Fix os-release file
2017-01-19 10:57:18 -08:00
Sven Dowideit
62fc20ae25
Gratuituous use of ASCII art on console
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-12-10 21:59:24 +10:00
Josh Curl
328bd5bd2e
Only set rancher password if non-empty
2016-12-08 15:22:43 -08:00
Serhiy Berezin
e43fb097c8
Fixed serial console login did not work on Online.net and it dougter Scaleway.com but shown garbage and broken futher output instead
2016-12-02 00:40:04 +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
432fa5636e
Push the os-release file into the hostfs, and then bind mount it into our system containers
...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-11-17 21:39:36 +10:00
Josh Curl
21fb3ebfa9
Move more commands to subcommands of ros
2016-10-31 19:16:21 -07:00