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
|
27f11ec6c2
|
set the permissions for /var/lib/rancher/conf to 0700
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-03-13 11:44:47 +00:00 |
|
Sven Dowideit
|
8080d01ac9
|
Throw error if running install / upgrade on non-amd64
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-03-13 11:44:46 +00:00 |
|
Sven Dowideit
|
e80342d369
|
Don't prompt / reboot if there was an install error
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-03-13 16:36:50 +10:00 |
|
Sven Dowideit
|
be9874d2f4
|
use the rancher.state.dev cfg to detect where we're installing
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-03-13 05:32:45 +00:00 |
|
Sven Dowideit
|
30534a617b
|
Merge pull request #1641 from rancher/silence-empty-cloud-init-warning-on-upgrade
Don't complain if there is no cloud-config supplied when upgrading
|
2017-02-21 22:10:05 -08:00 |
|
Sven Dowideit
|
acc72e634e
|
Don't complain if there is no cloud-config supplied when upgrading
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-02-22 05:22:38 +00:00 |
|
Julien Kassar
|
1e6d38cbf0
|
Count number of args for ros config set command
|
2017-02-17 17:23:21 -05:00 |
|
Julien Kassar
|
ff35f9a5aa
|
Add createHomeDir function in console_init.go
|
2017-02-17 14:05:39 -05:00 |
|
Julien Kassar
|
14257bdde8
|
Use of bufio instead of fmt.Scan for yes function
|
2017-02-17 03:20:04 -05:00 |
|
Fabrizio Steiner
|
885e809019
|
Allow services with https urls.
|
2017-02-15 10:13:57 +01:00 |
|
Sven Dowideit
|
9a75d2d5b4
|
hashicorp version pkg uses alpha sort on -rc11 metadata - so switching to Josh's catalog pkg
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-02-10 00:38:22 +00:00 |
|
Sven Dowideit
|
892a17bdbf
|
Fix upgrading from a rolled back upgrade
and reduce the verbosity of the non-debug output
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-02-09 13:22:31 +00: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
|
fc96f75c35
|
add upgrade with non-default console installed
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-30 21:33:54 +10:00 |
|
Sven Dowideit
|
83e6696fd3
|
Improve and test install and upgrade robustness
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-30 14:48:43 +10:00 |
|
Sven Dowideit
|
35afccefdf
|
Fixes for packet.net raid based upgrades
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-27 14:27:48 +00:00 |
|
Sven Dowideit
|
e51ea84439
|
RANCHER_BOOT doesn't contain the /boot prefx, so lets mount it that way to fake it
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-27 05:35:41 +00:00 |
|
Sven Dowideit
|
b3a9893fcf
|
Add version string to the initrd file so we can have 2 modern initrd's on the disk
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-27 03:50:00 +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 |
|
Sven Dowideit
|
a4e77692c4
|
My first pass at fixing the b2d autoformat
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-22 06:43:04 +00:00 |
|
Josh Curl
|
f906142534
|
Fix os-release file
|
2017-01-19 10:57:18 -08:00 |
|
Sven Dowideit
|
fc1e4e060d
|
Don't prompt for user input when we're not interactive
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-18 02:08:16 +00:00 |
|
Sven Dowideit
|
8e5eba0ac5
|
add --debug logging option to installer, and a dummy set-disk-partitions
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-18 10:50:37 +10:00 |
|
Sven Dowideit
|
1761d770c9
|
make yN and reboot happen in the console container, not in the installer sub-container
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-17 22:13:35 +10:00 |
|
Sven Dowideit
|
7e32fcc7d3
|
lets make 0.5.0 work too, as its in the tests
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-17 20:40:21 +10:00 |
|
Sven Dowideit
|
70d5495c7e
|
Real hardware installer fixes
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-17 17:05:23 +10:00 |
|
Sven Dowideit
|
2a575837b2
|
Installing 0.7.1, and then rebooting, and doing a ros upgrade to a faked up latest works \o/
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-15 23:40:18 +00:00 |
|
Sven Dowideit
|
f5230f1299
|
add integration tests for iso boot, install and then boot from disk.
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-15 23:40:18 +00:00 |
|
Sven Dowideit
|
11e78892c1
|
port the use of parted to go
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-15 23:40:18 +00:00 |
|
Sven Dowideit
|
d90217ab06
|
quieten the debug messages for install, fix pre-0.8.0-rc2 installer calling
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-15 23:40:18 +00:00 |
|
Sven Dowideit
|
1a0e818328
|
make ros install --append work
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-15 23:40:18 +00:00 |
|
Sven Dowideit
|
85bdaa6145
|
previous¤t isolinux/syslinux cfg works for fresh install, and ... the iso only has the smaller os-installer image in it \o/
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-15 23:40:18 +00:00 |
|
Sven Dowideit
|
47eaf2bda4
|
can't work yet - need the host fs to have the iso mounted...
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-15 23:40:18 +00:00 |
|
Sven Dowideit
|
cc78ff7bd1
|
make the iso run also get the ssh and cloud-init so testing the installer is easier
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-15 23:40:16 +00:00 |
|
Sven Dowideit
|
087bc6fd2d
|
Convert install script to go
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-01-15 23:39:38 +00:00 |
|
Philippe Vaucher
|
8443aa43da
|
Fix typos
|
2017-01-05 16:22:25 +01:00 |
|
Sven Dowideit
|
05b8587849
|
Merge pull request #1448 from konsumer/master
GPT partition option
|
2016-12-15 10:50:49 +10:00 |
|
Sven Dowideit
|
7dc719148e
|
plain syslinux with mbr works
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2016-12-14 21:01:58 +10: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 |
|
Sven Dowideit
|
b2059859df
|
Merge pull request #1458 from joshwget/only-set-non-empty-password
Only set rancher password if non-empty
|
2016-12-10 16:20:12 +10:00 |
|
Josh Curl
|
328bd5bd2e
|
Only set rancher password if non-empty
|
2016-12-08 15:22:43 -08:00 |
|
Josh Curl
|
cc3c78663c
|
CLI validation for services, console, and engines
|
2016-12-05 10:18:31 -08:00 |
|
Josh Curl
|
6bd52cea7f
|
Move all command bind mounts to symlinks
|
2016-12-04 09:32:03 -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
|
a063252e06
|
Merge pull request #1409 from joshwget/symlink-power-commands
Use symlinks for power commands instead of bind mounts
|
2016-11-22 08:27:08 +10:00 |
|
Josh Curl
|
9a34545aa9
|
Use symlinks for power commands instead of bind mounts
|
2016-11-17 09:49:27 -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 |
|
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
|
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 |
|
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
|
404e21f937
|
Merge pull request #1272 from SvenDowideit/add-latest-and-running
Add latest and running
|
2016-10-19 17:37:51 -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 |
|
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
|
2122f99fce
|
Merge pull request #1260 from joshwget/noformat-and-raid
Add noformat and RAID installer types
|
2016-09-30 07:32:13 -07:00 |
|
Josh Curl
|
2fc1d3fa5f
|
Add noformat and RAID installer types
|
2016-09-29 21:55:19 -07:00 |
|
Josh Curl
|
cf998978a8
|
Refactor how consoles and engines are loaded
|
2016-09-26 22:03:06 -07:00 |
|
Josh Curl
|
1731fc5642
|
Preserve custom kernel arguments when upgrading
|
2016-09-26 17:27:53 -07:00 |
|
Cougar
|
d725d99fa5
|
Do not ask about reboot if --force and no --no-reboot
|
2016-08-25 01:51:33 +03:00 |
|
Josh Curl
|
360b576411
|
Use mount command to mount /dev
|
2016-08-23 11:07:13 -07:00 |
|
Josh Curl
|
11cf2a195b
|
Show current/enabled/disabled in 'ros engine list'
|
2016-08-17 16:33:49 -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
|
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 |
|
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 |
|
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
|
a9e34206bc
|
Warn when attempting to switch to the same console
|
2016-06-16 09:54:12 -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 |
|
Josh Curl
|
b279fa85f6
|
Enable logging in more ros command services
|
2016-06-07 19:19:18 -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 |
|
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
|
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 |
|
Josh Curl
|
4f48569cb2
|
Atomic writes
|
2016-06-02 14:32:26 -07:00 |
|
Josh Curl
|
08f40ad3e7
|
Fix boot issues due to invalid configs
|
2016-06-01 18:41:55 -07:00 |
|
Josh Curl
|
95d8ebe146
|
Simplify configuration
|
2016-05-31 14:34:04 -07:00 |
|
Josh Curl
|
69fe4bb619
|
Cache remote repos and service definitions
|
2016-05-25 09:40:28 -07:00 |
|
Ivan Mikushin
|
af6079f780
|
ros os upgrade: ask for confirmation first, then download the image and run upgrade
The confirmation question is a bit different if you are upgrading to the same version
|
2016-05-25 08:44:21 -07:00 |
|
Josh Curl
|
c18cd26e78
|
Update codegangsta/cli action return signature
|
2016-05-23 17:22:07 -07:00 |
|
Josh Curl
|
42e48476e7
|
Sync with libcompose
|
2016-05-23 17:21:28 -07:00 |
|