1
0
mirror of https://github.com/rancher/os.git synced 2025-07-15 15:51:36 +00:00
Commit Graph

128 Commits

Author SHA1 Message Date
Ivan Mikushin
c11a0739dd Merge pull request #633 from ibuildthecloud/hostname-dhcp
Set hostname prior to running DHCP
2015-11-06 09:34:53 +05:00
Ivan Mikushin
2db254865e Use a constant instead of a magic value. 2015-11-05 13:51:05 +05:00
Darren Shepherd
ea50b5968a Set hostname prior to running DHCP
https://github.com/rancher/os/issues/627
2015-11-04 16:06:17 -07:00
Ivan Mikushin
97807a52c1 Always use bundled docker for system-docker.
Fixes system-docker CLI breaking after a newer custom docker has been installed into the console container (e.g. into debian-console).
2015-11-02 14:49:29 +05:00
Wang Long
9e15059789 Replace rancherio with rancher
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2015-10-12 19:50:57 +08:00
Darren Shepherd
2966ef8e5d Fix loading network files from ros service compose commands 2015-10-02 00:57:13 -07:00
Darren Shepherd
397b2a9822 Move ros compose to ros service sub commands 2015-10-01 15:48:19 -07:00
Ivan Mikushin
338abb758f Reshuffle cloud-config
Read files cloud-config.d in alphanumeric order, then cloud-config.yml
`ros config` writes to cloud-config.yml (and cloud-config.d/private.yml - only private keys)

Add (c *CloudConfig) Save() method, use it to save the changed config

Read and apply metadata as part of LoadConfig()

Simplify ros config export logic
2015-09-30 23:59:22 +05:00
Darren Shepherd
0ac4c783f9 Merge pull request #582 from ibuildthecloud/fix-symlink
Fix symlinking docker.dist in custom consoles
2015-09-25 00:01:47 -07:00
Darren Shepherd
427aa1f61a Fix symlinking docker.dist in custom consoles 2015-09-24 23:21:37 -07:00
Darren Shepherd
e25c59f1ab Create ros compose command 2015-09-22 11:17:15 -07:00
Darren Shepherd
a13e2957e7 Be less agressive on waiting for docker storage context container 2015-09-22 11:16:55 -07:00
Darren Shepherd
e451abd532 Merge pull request #559 from luxas/32bit
Fixed 32-bit issue in power.go
2015-09-18 15:56:14 -07:00
Ivan Mikushin
5934852e80 rename rancher.user_docker to rancher.docker in cloud-config 2015-09-14 11:50:39 +05:00
Lucas Käldström
32f71c05bf Fixed 32-bit issue. Now it is possible to build bin/rancheros on a Raspberry Pi or any 32-bit machine 2015-09-10 10:33:15 +03:00
Darren Shepherd
72be1d11e6 Revert "Revert "Storage""
This reverts commit 7b2bf93271.
2015-08-27 12:24:26 -07:00
Ivan Mikushin
7b2bf93271 Revert "Storage" 2015-08-27 18:33:26 +05:00
Ivan Mikushin
94269475c2 Merge pull request #529 from ibuildthecloud/storage
Storage
2015-08-27 17:24:25 +05:00
Darren Shepherd
ab6eb58167 Run user docker with a configurable storage context 2015-08-27 02:52:12 -07:00
Ivan Mikushin
e486b7e218 ros install 2015-08-25 17:20:40 +05:00
Ivan Mikushin
ed09b30692 cloudinit: do not abort on configuration errors 2015-08-20 20:12:37 +05:00
Ivan Mikushin
642c557c73 do not save/use bad cloud-config 2015-08-20 19:20:51 +05:00
Ivan Mikushin
aa1af05d46 do not panic 2015-08-20 18:06:48 +05:00
Ivan Mikushin
1b327e8d7f fix user-docker 2015-08-07 00:01:57 +05:00
Darren Shepherd
9d76b79ac3 Refactor to use libcompose 2015-08-06 00:05:25 -07:00
Darren Shepherd
889c80b682 Rebase on rancher/netconf 2015-08-06 00:05:24 -07:00
Jan Broer
2b1bf67c86 Fixes runtime error when ros env is called without argument(s) 2015-08-06 01:11:22 +02:00
Ivan Mikushin
7ad60c07bd make cloud-config the configuration mechanism for RancherOS 2015-08-05 19:48:25 +05:00
Ivan Mikushin
d33698d17b move auto-formatter drive selection logic to os-autoformat container
and get rid of:
- machine-rancheros.iso,
- special case in build-images,
- some bootstrap.go code
2015-07-22 17:47:24 +05:00
Ivan Mikushin
b7b52c65a1 ros dev spec
find device using blkid spec
2015-07-21 13:34:55 +05:00
Ivan Mikushin
4bf30683e7 build based on os-config.yml
WIP: build scripts
2015-06-29 12:03:41 +05:00
Ivan Mikushin
dff70f8362 latest rancher-compose, default.go -> os-config.yml
also, gofmt
2015-06-29 12:00:41 +05:00
Ivan Mikushin
0d15d2b64d duplicate ssh keys into "docker" user 2015-06-12 11:31:53 +05:00
Jan Broer
4d563bf4fd cloud-init: add support for $public_IPv4, $private_IPv4, etc. substitution in the user-data 2015-05-24 19:25:58 +02:00
Jan Broer
0894639b33 Cloud-init: url and cmdline datasources require network 2015-05-14 07:51:49 +02:00
Darren Shepherd
38a38a602a Merge pull request #308 from janeczku/cloud-init-cmdline
Bugfix: cloud_init datasource "cmdline" should not expect a value
2015-05-13 20:43:03 -07:00
Jan Broer
e82ce0ac22 Bugfix: cloud_init datasource "cmdline" should not expect a value
Problem: Datasource of type `cmdline` is not processed unless a value is given. Alas, cloud-init's `proc_cmdline` method does not take any arguments at all.
2015-05-14 03:38:14 +02:00
wlan0
a748fde371 Fixes #209: ensure that service is in /var/lib/rancher/conf if specified through a file 2015-05-04 13:28:47 -07:00
Darren Shepherd
4b20a83579 Merge pull request #267 from wlan0/bugfix3
add ability to delete dynamically added services
2015-05-06 14:21:01 -07:00
wlan0
486cd66d08 Fixes #151: Better error messages for incorrect use of options 2015-05-03 22:43:38 -07:00
Darren Shepherd
420d3290c8 Add flag to not reboot after OS upgrade 2015-05-02 23:07:01 -07:00
wlan0
dcc89dfbc6 remove default directory from tls generate cmd 2015-04-29 04:38:43 -07:00
Ivan Mikushin
d62eb3de5d rancherctl env subcommand
Usage:
rancherctl env <command>

Executes <command> with environment from rancher.environment. Real env vars override those from rancher.environment.
2015-04-29 15:43:06 +05:00
wlan0
1c4765f3ba add ability to delete dynamically added services 2015-04-29 03:32:48 -07:00
wlan0
505174db35 set hostname from cloud-init 2015-04-21 19:06:40 -07:00
Darren Shepherd
2462067015 Properly marshall #compose and script files in cloud-config.d 2015-04-17 06:37:56 -07:00
Bill Maxwell
1ab2b502dd Needed to add a newline. 2015-04-16 22:56:55 -07:00
Darren Shepherd
ae0c42cef3 Fix broken OS upgrade 2015-04-16 12:04:14 -07:00
Darren Shepherd
0b5eb352ba Services in compose format 2015-04-15 23:17:01 -07:00
Darren Shepherd
b1c519ebe0 Force os-installer container to use json-file logger 2015-04-15 23:17:01 -07:00