1
0
mirror of https://github.com/rancher/os.git synced 2025-09-12 13:17:17 +00:00
Commit Graph

110 Commits

Author SHA1 Message Date
Sven Dowideit
59a752c306 Use the partial cfg for the initial network
and release the network device from dhcp if we're not using it

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-26 11:49:14 +00:00
Sven Dowideit
f6ce1f0685 Use the kernel cmdline elide patch to load config into RancherOS that isn't visible in /pro/cmdline
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-14 14:19:43 +10: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
4126cdbba7 copy the network.yml over the switchroot too
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2017-03-09 09:59:47 +10: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
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
68f3b9cfda Run bootstrap services even if autoformat isn't set 2017-01-04 16:18:33 -08:00
Josh Curl
40100ffa7c Load modules after running PrepareFs 2016-12-01 11:27:33 -08:00
Josh Curl
d53452a7eb Show output for modprobe calls 2016-12-01 11:16:53 -08: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
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
13b34a6668 Early cloud-init 2016-11-09 11:08:30 -08:00
Josh Curl
bb4ad618e1 Implement bootcmd 2016-11-03 15:06:20 -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
691f7cb42c Move in code from netconf and docker-from-scratch 2016-10-19 16:21:35 -07:00
Josh Curl
a7d405991c Rewrite a few scripts in Go and remove unneeded services 2016-10-17 14:47:44 -07:00
Darren Shepherd
e5293ff926 Merge pull request #1239 from joshwget/docker-arguments-map
Use a map to configure Docker arguments
2016-09-26 21:36:36 -07:00
Darren Shepherd
e58a6a5433 Merge pull request #1252 from joshwget/ignore-mkdir-error
Ignore error creating /var/lib/system-docker if it already exists
2016-09-26 21:22:23 -07:00
Josh Curl
32b2ccda1e Ignore error creating /var/lib/system-docker if it already exists 2016-09-25 20:37:55 -07:00
Josh Curl
065fe4a16e Use a map to configure Docker arguments 2016-09-25 17:55:19 -07:00
Josh Curl
133c2610d1 Remove rancher.state.formatzero kernel parameter 2016-09-25 11:39:46 -07:00
Josh Curl
21cf86665b Use runc exec to start User Docker 2016-09-09 09:06:23 -07:00
Josh Curl
6b4222888c Refactor state 2016-07-27 23:25:08 -07:00
Josh Curl
73ea4c9bcd Remove rkt support 2016-06-17 16:49:12 -07:00
Darren Shepherd
ecc8482666 Make /run shared, also don't rshare in initrd 2016-06-17 08:04:35 -07:00
Darren Shepherd
924e4b8aae /media and /mnt mounted as shared for console 2016-06-15 16:45:05 -07:00
Josh Curl
e4019385aa Merge remote-tracking branch 'origin/v0.5' into HEAD 2016-06-13 22:00:34 -07:00
Josh Curl
3153c28e86 Support switching to the default console 2016-06-12 12:02:07 -07:00
Josh Curl
4cb1d26cf9 Fix 'rancher.log' 2016-06-06 15:31:34 -07:00
Darren Shepherd
8ab32c820f Docker 1.11.1 2016-06-03 11:38:25 -07: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
08f40ad3e7 Fix boot issues due to invalid configs 2016-06-01 18:41:55 -07:00
Josh Curl
e51c5409aa Move default hostname and network under common key 2016-05-31 22:27:04 -07:00
Josh Curl
95d8ebe146 Simplify configuration 2016-05-31 14:34:04 -07:00
Josh Curl
42e48476e7 Sync with libcompose 2016-05-23 17:21:28 -07:00
Josh Curl
2968bed32e Revert "/media and /mnt mounted as shared for console" 2016-05-07 15:08:39 -07:00
Darren Shepherd
a9ca80d47d Merge pull request #917 from joshwget/proxy-settings
HTTP proxy settings can be set in cloud config
2016-05-07 12:56:52 -07:00
Josh Curl
ae543ab167 HTTP proxy settings can be set in cloud config 2016-05-06 16:25:07 -07:00
Josh Curl
7241390042 /media and /mnt mounted as shared for console 2016-05-04 16:18:24 -07:00
Josh Curl
8862878337 Remove DHCP override flag 2016-04-15 10:38:31 -07:00
Josh Curl
97774f78a9 Remove --boot flag in ros config export 2016-04-11 22:07:59 -07:00
Josh Curl
f28d463504 Enable SELinux 2016-02-19 16:11:32 -08:00
Ivan Mikushin
2f27271a2c Multi-arch build
Currently, for amd64 (the default) and arm.
Run `dapper make ARCH=arm rootfs` to build rootfs.tar.gz for arm.
2016-02-08 16:49:49 -08:00
Ivan Mikushin
0e949dfba4 Merge pull request #748 from datawolf/master
do not print success info when loading images error
2016-02-04 18:34:19 -08:00
Darren Shepherd
77242012e7 Change OEM log message 2016-02-04 09:06:16 -07:00
Darren Shepherd
8ac9b1137b Set signal channel to a sufficiently large buffer size 2016-02-04 09:06:15 -07:00
Wang Long
db49753d1a do not print success info when loading images error
when the client.LoadImage return an error, there should not be print
success info like the following:

    "INFO[0000] Done loading images from /usr/share/ros/images.tar"

This patch fix it by move the log.Infof() after the err check.

Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-02-03 20:24:12 +08:00
Darren Shepherd
7e4f8fe87d Merge pull request #704 from ibuildthecloud/one
Remove unneeded code
2015-12-22 17:12:19 -07:00
Darren Shepherd
ee257f944e Remove unneeded code 2015-12-22 17:11:25 -07:00