1
0
mirror of https://github.com/rancher/os.git synced 2025-07-02 01:31:48 +00:00
Commit Graph

339 Commits

Author SHA1 Message Date
Sven Dowideit
28075b2a78 Merge pull request #1373 from joshwget/validate-command
Add command to validate configuration
2016-11-10 18:34:14 +10:00
Josh Curl
13b34a6668
Early cloud-init 2016-11-09 11:08:30 -08:00
Josh Curl
25e5ca5e4c
Add command to validate configuration 2016-11-06 18:23:01 -08:00
Josh Curl
bb4ad618e1
Implement bootcmd 2016-11-03 15:06:20 -07:00
Daishan Peng
35ce5cd8b5 correct typo 2016-11-01 00:10:53 -07: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
Darren Shepherd
b8b4ddc2ae Merge pull request #1343 from joshwget/customize-service-commands
Switch from imported libcompose service commands to customized ones
2016-10-25 11:44:50 -07:00
Josh Curl
3685461692
Switch from imported libcompose service commands to customized ones 2016-10-23 16:20:32 -07:00
Sven Dowideit
ba2c65ec19 Merge pull request #1316 from SvenDowideit/refactor-yes
Moved NewReader into yes(prompt)
2016-10-21 13:48:19 -07:00
Josh Curl
8665960ff2
Hide various internal commands 2016-10-20 00:19:47 -07:00
Josh Curl
5ecbf19aa8 Merge pull request #1332 from joshwget/move-in-netconf-and-dfs
Move in code from netconf and docker-from-scratch
2016-10-19 17:56:30 -07:00
Josh Curl
404e21f937 Merge pull request #1272 from SvenDowideit/add-latest-and-running
Add latest and running
2016-10-19 17:37:51 -07:00
Josh Curl
691f7cb42c
Move in code from netconf and docker-from-scratch 2016-10-19 16:21:35 -07:00
Sven Dowideit
5278dd5015 Moved NewReader into yes(prompt)
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-10-18 14:46:32 -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
e608377088
Write /run/console-done before executing /etc/rc.local 2016-10-14 10:48:32 -07:00
Sven Dowideit
61f591f56e Add latest and currently running os info to 'ros os list'
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2016-10-06 12:31:14 +10:00
Darren Shepherd
a05e41ca6b Merge pull request #1269 from joshwget/packet-phone-home
Post to Packet phone home URL on first boot
2016-10-04 15:09:14 -07:00
Josh Curl
2f2be31d8d
Post to Packet phone home URL on first boot 2016-10-04 13:23:47 -07:00
Josh Curl
0a3ee71352
Run partprobe after growpart 2016-10-04 09:41:11 -07:00
Darren Shepherd
a811132245 Revert "Move Packet datasource from cloud-init-pre to cloud-init" 2016-09-30 07:41:03 -07:00
Darren Shepherd
2122f99fce Merge pull request #1260 from joshwget/noformat-and-raid
Add noformat and RAID installer types
2016-09-30 07:32:13 -07:00
Darren Shepherd
bdcda45a11 Merge pull request #1256 from joshwget/move-packet-datasource
Move Packet datasource from cloud-init-pre to cloud-init
2016-09-30 07:29:39 -07:00
Josh Curl
2fc1d3fa5f
Add noformat and RAID installer types 2016-09-29 21:55:19 -07:00
Josh Curl
395ef0b8c4
Move Packet datasource from cloud-init-pre to cloud-init 2016-09-27 11:18:24 -07:00
Josh Curl
cf998978a8
Refactor how consoles and engines are loaded 2016-09-26 22:03:06 -07:00
Josh Curl
b65e429bb6
Run gofmt and fix vet errors 2016-09-26 21:32:37 -07:00
Josh Curl
1731fc5642
Preserve custom kernel arguments when upgrading 2016-09-26 17:27:53 -07:00
Josh Curl
d782d0b17f
Show output for more commands in cloud-init-execute 2016-09-15 10:51:26 -07:00
Josh Curl
21cf86665b
Use runc exec to start User Docker 2016-09-09 09:06:23 -07:00
Darren Shepherd
70f2c8dd3a Merge pull request #1209 from joshwget/start-script-fixes
Fix typo and set output for start scripts
2016-09-01 19:39:45 -07:00
Josh Curl
3b68017af5
Fix typo and set output for start scripts 2016-09-01 17:05:24 -07:00
Darren Shepherd
2081b1be95 Merge pull request #1208 from joshwget/reduce-memory-usage
Reduce memory usage copying Docker binaries
2016-09-01 10:53:13 -07:00
Josh Curl
73d0790e30
Reduce memory usage copying Docker binaries 2016-09-01 09:56:03 -07:00
Darren Shepherd
17e01a3771 Merge pull request #1205 from joshwget/execute-start-scripts-using-bash
Execute start scripts using bash
2016-08-31 16:38:03 -07:00
Josh Curl
d4a026dc5d
Execute start scripts using bash 2016-08-31 16:18:51 -07:00
Josh Curl
258a5a173c
Modify how /var/lib/rancher/conf/docker is sourced 2016-08-29 15:54:40 -07:00
Darren Shepherd
92e20827d8 Fix respawn.conf.d 2016-08-24 21:43:51 -07:00
Cougar
d725d99fa5 Do not ask about reboot if --force and no --no-reboot 2016-08-25 01:51:33 +03:00
Darren Shepherd
48c40a57c5 Merge pull request #1180 from joshwget/dev-mount
Use mount command to mount /dev
2016-08-24 14:44:20 -07:00
Josh Curl
c0bcb61158
Symlink docker-proxy 2016-08-24 09:43:03 -07:00
Josh Curl
360b576411
Use mount command to mount /dev 2016-08-23 11:07:13 -07:00
Darren Shepherd
2cfe4d289d Make respawn slightly extensible 2016-08-22 14:31:36 -07:00
Darren Shepherd
723278a440 Merge pull request #1174 from joshwget/specify-each-autologin-tty
Specify each autologin tty
2016-08-22 13:50:50 -07:00
Josh Curl
4677af8419
Implement runcmd 2016-08-22 13:22:27 -07:00
Josh Curl
bbab6aa760
Specify each tty for autologin 2016-08-22 11:19:24 -07:00
Darren Shepherd
7a1609a398 Merge pull request #1160 from joshwget/use-partx
Replace partprobe with partx
2016-08-18 18:11:33 -07:00
Josh Curl
da69a464fb
Replace partprobe with partx 2016-08-18 15:35:39 -07:00
Darren Shepherd
add2080fb2 Merge pull request #1163 from joshwget/fix-duplicate
Fix duplicate volumes_from when switching consoles
2016-08-18 15:32:38 -07:00
Darren Shepherd
31193538e6 Merge pull request #1162 from joshwget/engine-list-details
Show current/enabled/disabled in 'ros engine list'
2016-08-18 15:32:02 -07:00
Darren Shepherd
26a9331e41 Merge pull request #1157 from joshwget/autologin-key
Add rancher.autologin key
2016-08-18 15:29:19 -07:00
Josh Curl
42748a2c4b
Fix duplicate volumes_from when switching consoles 2016-08-18 15:05:06 -07:00
Josh Curl
11cf2a195b
Show current/enabled/disabled in 'ros engine list' 2016-08-17 16:33:49 -07:00
Josh Curl
4b3198dff4
Add rancher.autologin key 2016-08-17 16:07:46 -07:00
Josh Curl
b04536e55f
Fix typo writing to sshd_config 2016-08-16 22:02:26 -07:00
Josh Curl
65468736df
Correct permissions on home directory 2016-08-16 16:25:01 -07:00
Darren Shepherd
6abdeb34d6 Merge pull request #1143 from joshwget/better-engine-switching
Make it easier to switch between Docker engines
2016-08-15 21:21:23 -07:00
Josh Curl
80c72d0761
Make it easier to switch between Docker engines 2016-08-15 15:06:26 -07:00
Josh Curl
d4801494a1
Use the mount command to apply cloud-config mounts 2016-08-15 13:01:40 -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
889cb9eea8
Split cloud-init into cloud-init-execute and cloud-init-save 2016-08-04 15:47:12 -07:00
Josh Curl
83332ceade
Add --no-pull flag to 'ros console switch' 2016-07-21 10:25:32 -07:00
Darren Shepherd
f98e3efad2 Merge pull request #1077 from joshwget/update-console-switch-warning
Update console switch warning
2016-06-30 21:51:07 -07:00
Josh Curl
25768888a5
Only log once during upgrade 2016-06-30 16:28:32 -07:00
Josh Curl
78fc0d15cc
Update console switch warning 2016-06-30 14:02:04 -07:00
Ivan Mikushin
2264aa8230 Copyright comment cleanup
Add back the copyright notice
2016-06-29 22:50:22 -07:00
Ivan Mikushin
e6a550d786 Fix fetching SSH authorized keys from GCE 2016-06-29 20:35:49 -07:00
Josh Curl
92b24d9790
Console switch warning based on running console and not enabled console 2016-06-29 00:52:38 -07:00
Darren Shepherd
b0c6ad709c Merge pull request #1056 from joshwget/respect-customization
Fix two instances where customization isn't respected
2016-06-28 15:44:08 -07:00
Darren Shepherd
9abb58641d Merge pull request #1055 from joshwget/ros-console-list-details
Add details to 'ros console list'
2016-06-28 15:36:44 -07:00
Josh Curl
b09c09edf4
Fix two instances where customization isn't respected 2016-06-28 14:35:51 -07:00
Josh Curl
8f8dec51ea
Add details to 'ros console list' 2016-06-28 11:18:26 -07:00
Josh Curl
128c228ff5
Add swap support in cloud config mounts 2016-06-22 21:50:29 -07:00
Josh Curl
921c00c8ea
Add sysctl support in cloud config 2016-06-17 23:05:45 -07:00
Josh Curl
65bff509e0
Remove second exec start in User Docker 2016-06-17 09:50:36 -07:00
Josh Curl
a9e34206bc
Warn when attempting to switch to the same console 2016-06-16 09:54:12 -07:00
Josh Curl
445d35e33e
Revolve device before performing cloud config mount 2016-06-15 14:20:06 -07:00
Darren Shepherd
e98fc80d12 Merge pull request #1013 from joshwget/additional-mounts
Additional mounts can be set in cloud config
2016-06-14 15:46:41 -07:00
Josh Curl
f24facc06c
Additional mounts can be set in cloud config 2016-06-14 15:25:56 -07:00
Josh Curl
d205af4abf
Add --input flag to ros config merge 2016-06-14 15:05:12 -07:00
Josh Curl
c4c8ec402c
Add 'ros console enable' command 2016-06-12 22:28:24 -07:00
Josh Curl
3153c28e86
Support switching to the default console 2016-06-12 12:02:07 -07:00
Josh Curl
abfb45401a
Update console switch warning message 2016-06-10 10:54:06 -07:00
Josh Curl
9f7e6a19ab
Add --force flag to console switch 2016-06-10 10:54:02 -07:00
Darren Shepherd
77612b87c5 Merge pull request #989 from joshwget/more-service-logging
Enable logging in more ros command services
2016-06-07 22:01:30 -07:00
Josh Curl
b279fa85f6
Enable logging in more ros command services 2016-06-07 19:19:18 -07:00
Josh Curl
3b8b47f103
Various User Docker improvements 2016-06-07 18:59:45 -07:00
Josh Curl
9658d3bffd
Replace resize system service with cloud config option 2016-06-07 09:53:41 -07:00
Darren Shepherd
cd76d85aea Merge pull request #980 from joshwget/first-class-consoles
First class consoles
2016-06-06 15:27:23 -07:00
Josh Curl
719d255636
First class consoles 2016-06-06 15:13:15 -07:00
Darren Shepherd
f22c692529 Merge pull request #975 from imikushin/tls
Disable docker server TLS cert auto-generation
2016-06-06 12:43:19 -07:00
Ivan Mikushin
41f333d0ff Disable docker server TLS cert auto-generation
Because users should be explicit about their docker TLS certs.
Also, re-generate the key and cert files when `ros tls gen` is run (used to be cached).
2016-06-06 10:27:03 -07:00
Darren Shepherd
8ab32c820f Docker 1.11.1 2016-06-03 11:38:25 -07:00
Darren Shepherd
43f90b8e61 Merge pull request #978 from imikushin/gce-cloud-config
Use GCE metadata service
2016-06-02 20:55:12 -06:00
Ivan Mikushin
c5fb496a5d use gce metadata service to get user-data and other metadata 2016-06-02 19:49:21 -07:00
Darren Shepherd
7c6fa3f0b6 Merge pull request #955 from imikushin/upgrade-flow
ros os upgrade: ask for confirmation first, then download and upgrade
2016-06-02 20:15:37 -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