Sven Dowideit
|
10a4c59385
|
Make datasource.AvailabilityChanges() able to be dynamic so fail out for configdrive mount and url 404's faster
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-03-04 08:05:28 +00:00 |
|
Sven Dowideit
|
78051c2814
|
treat 404 error on datasource as unrecoverable
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-03-04 08:05:28 +00:00 |
|
Sven Dowideit
|
391082fa50
|
refactor a little and keep the datasource errors for later
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-03-04 08:05:28 +00:00 |
|
Sven Dowideit
|
8fa2d80325
|
use our gce metadata - it adds ssh
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-03-02 16:25:00 +10:00 |
|
Sven Dowideit
|
be2c4044ce
|
cloudinit tests pass :)
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-02-28 13:58:34 +10:00 |
|
Sven Dowideit
|
e2ed97648a
|
move coreos-cloudinit into config/cloudinit
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-02-28 13:58:34 +10:00 |
|
Sven Dowideit
|
8e7181e690
|
Merge pull request #1626 from rancher/fix-iso-cloud-config
WIP Failing test for cloud-config on iso
|
2017-02-21 22:12:09 -08: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
|
69be7de1c4
|
Fix ISO based cloud-config drive
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
|
2017-02-22 05:23:22 +00:00 |
|
Sven Dowideit
|
da74a931e6
|
Merge pull request #1636 from juliengk/config_set_issue_1621
Count number of args for ros config set command
|
2017-02-21 21:23:03 -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 |
|
Tyler Tidman
|
283c4b7193
|
Update copyrights, fixes #1605
|
2017-02-21 20:19:10 -05: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
|
8d3dc7bede
|
Merge pull request #1550 from joshwget/run-udev-before-early-cloud-init
Run udev before early cloud-init
|
2017-01-25 12:39:57 +10:00 |
|
Josh Curl
|
61191056a7
|
Run udev before early cloud-init
|
2017-01-24 11:53:20 -08: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 |
|
Sven Dowideit
|
aa781b4a51
|
Merge pull request #1308 from SvenDowideit/move-os-release-file
Move the os-release file to /usr/lib and softlink
|
2016-11-22 08:26:27 +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 |
|
Josh Curl
|
90640882b4
|
Fix SSH keys for Docker Machine
|
2016-11-16 23:36:25 -08:00 |
|
Darren Shepherd
|
4d89e3f5b7
|
Merge pull request #1402 from joshwget/go-update-ssh-keys
Rewrite update-ssh-keys in Go
|
2016-11-16 17:05:24 -07:00 |
|
Darren Shepherd
|
4479ff5cdb
|
Merge pull request #1364 from joshwget/early-cloud-init
Early cloud-init
|
2016-11-16 17:05:03 -07:00 |
|
Josh Curl
|
bba93792d5
|
Rewrite update-ssh-keys in Go
|
2016-11-16 13:02:35 -08: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
|
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 |
|