Josh Curl
c0c8179813
ros config get
shows default values
2016-03-31 21:31:46 -07:00
Ivan Mikushin
e2f3ac78a7
cleanup tests using SSH
2016-03-31 18:56:18 -07:00
Darren Shepherd
ecae451ad1
Merge pull request #847 from joshwget/bind-mount-var-lib-system-docker
...
Bind mount /var/lib/system-docker
2016-03-31 18:41:30 -07:00
Darren Shepherd
44fb5dfe2e
Merge pull request #842 from joshwget/vbox-modules
...
Include VirtualBox guest modules
2016-03-31 18:40:01 -07:00
Darren Shepherd
0fcc1bb94f
Merge pull request #845 from datawolf/fix-suffix-error
...
fix the suffix error when the target is rootfs
2016-03-31 18:33:10 -07:00
Ivan Mikushin
2dd57c5f3a
remove an unused option --xhyve from ./scripts/run
2016-03-31 16:10:38 -07:00
Josh Curl
6e9ce6aea3
Include VirtualBox guest modules
2016-03-31 15:35:45 -07:00
Ivan Mikushin
60e5ff7ede
Fix problems loading external services on boot (like ubuntu-console or kernel-headers)
...
On arm64 external services would not load on boot because of DNS i/o timeouts or valid TLS certificates appearing expired or not issued yet (I know that sounds weird).
2016-03-31 13:16:26 -07:00
Ivan Mikushin
95d24ac67d
Modify the tests to work with multiple architectures
2016-03-31 13:16:26 -07:00
Ivan Mikushin
99c3207b14
Hook cloud-config into qemu-system-aarch46
2016-03-31 13:16:26 -07:00
Ivan Mikushin
29aff3d807
Dockerfile.dapper: make sure to update apt repos before fetching build deps and sources
...
Also, use dapper -d flag in scripts/shell.sh for better visibility
2016-03-31 13:14:25 -07:00
Josh Curl
9d8f6475aa
Bind mount /var/lib/system-docker
2016-03-31 12:52:14 -07:00
Darren Shepherd
78ae645903
Merge pull request #824 from imikushin/run-kvm
...
scripts/run: enable KVM on arm/arm64 too
2016-03-31 11:55:46 -07:00
Darren Shepherd
e53155d023
Merge pull request #784 from joshwget/up-to-date-upgrade-warning
...
Warn if upgrading to the currently running version
2016-03-31 11:51:52 -07:00
Darren Shepherd
bd13cb4f00
Merge pull request #793 from joshwget/stage-when-enabled
...
Stage services when they are enabled
2016-03-31 11:49:24 -07:00
Darren Shepherd
e483ade336
Merge pull request #832 from joshwget/local-upgrade-image
...
Only pull upgrade image if not found locally
2016-03-31 11:45:30 -07:00
Darren Shepherd
c459937d90
Merge pull request #834 from joshwget/unmarshal-args-as-yaml
...
Use yaml.Unmarshal to handle config arguments
2016-03-31 11:44:44 -07:00
Darren Shepherd
d5b33086e6
Merge pull request #840 from joshwget/delete-container-before-upgrade
...
Delete previous upgrade container before upgrading
2016-03-31 11:44:09 -07:00
Wang Long
5221a31b1f
fix the suffix error when the target is rootfs
...
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-03-31 21:50:16 +08:00
Darren Shepherd
2b3e783939
Merge pull request #833 from imikushin/install-version-arch
...
Use images for the current architecture (vs just amd64)
2016-03-30 15:57:47 -07:00
Josh Curl
047884d4aa
Delete previous upgrade container before upgrading
2016-03-29 11:53:40 -07:00
Ivan Mikushin
ee9c21c5f1
Use docker images for the current architecture (vs just for amd64)
...
Fix #828 , #835
2016-03-29 10:29:56 -07:00
Josh Curl
6e6233bd86
Use yaml.Unmarshal to handle config arguments
2016-03-28 16:36:59 -07:00
Josh Curl
b965a2c0e3
Only pull upgrade image if not found locally
2016-03-28 11:27:27 -07:00
Darren Shepherd
5f362d78a2
Merge pull request #827 from datawolf/fix-lay-down-os-error
...
Fix lay-down-os shell error
2016-03-28 10:19:19 -07:00
Wang Long
d45360db62
Fix lay-down-os shell error
...
the current code for lay-down-os will cause the following error when
install rancheros to disk.
```
-bash: [: missing `]'
```
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-03-26 15:33:25 +08:00
Denise
529e7dab06
Update README.md
2016-03-24 11:16:25 -07:00
Ivan Mikushin
dc86eb8c6d
scripts/run: enable KVM on arm/arm64 too
2016-03-23 13:28:05 -07:00
Ivan Mikushin
77506c0a67
Replace curl with wget in Makefile
...
Because curl exits cleanly on HTTP errors (like 404 Not Found) and output filled with the error page content
2016-03-22 16:27:11 -07:00
Darren Shepherd
2ec32c14e2
Merge pull request #819 from imikushin/dapper-gccgo
...
Make sure /usr/bin/go from gccgo exists
2016-03-22 12:20:20 -07:00
Ivan Mikushin
5a8d0e7f34
Add --append to ros os upgrade
to pass kernel args for --kexec
2016-03-22 12:16:06 -07:00
Ivan Mikushin
7d1a7f04de
Make sure /usr/bin/go from gccgo exists
...
Fix dapper image build, which broke at some point: apparently because of gccgo packaging change
2016-03-22 11:27:20 -07:00
Darren Shepherd
cb772977bd
Merge pull request #816 from datawolf/master
...
fix gen-os-config.sh error
2016-03-22 11:12:35 -07:00
Wang Long
e074038775
fix gen-os-config.sh error
...
Need to source build.conf.${ARCH} file when we generate os-config.yml
after the pr(https://github.com/rancher/os/pull/815 ) merged.
this patch fix it.
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-03-22 14:15:30 +08:00
Darren Shepherd
097e8d3b4f
Merge pull request #815 from imikushin/os-releases-arm
...
Different $OS_RELEASES_YML for different architectures
2016-03-21 21:05:50 -07:00
Darren Shepherd
f7301fa1b0
Merge pull request #808 from datawolf/print-proper-tips
...
print proper tips when running `ros` or `system-docker` without using sudo
2016-03-21 21:05:01 -07:00
Ivan Mikushin
cd46d7ca37
Different $OS_RELEASES_YML for different architectures
2016-03-21 20:48:09 -07:00
Darren Shepherd
8653a2cd8f
Merge pull request #810 from imikushin/selinux-arm
...
Support SELinux on arm/arm64
2016-03-21 11:34:49 -07:00
Ivan Mikushin
a8dfd7089e
Support SELinux on arm/arm64
2016-03-18 08:39:40 -07:00
Ivan Mikushin
aae4d086c9
Update to docker-from-scratch-v1.10.3
...
DFS-1.10.3 supports SELinux
2016-03-17 13:37:12 -07:00
Darren Shepherd
96c3f3958b
Merge pull request #812 from imikushin/qemu-arm64
...
Run qemu and tests on different architectures
2016-03-17 09:05:58 -07:00
Ivan Mikushin
8802fe2c6e
Run qemu and tests on different architectures
2016-03-17 04:30:11 -07:00
Denise
c1bf5ed490
Update README.md
2016-03-16 11:21:35 -07:00
Wang Long
445c510dee
fix the testcase: add sudo
to ros dev
command
...
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-03-16 18:41:54 +08:00
Wang Long
6617eab12f
print proper tips when running ros
or system-docker
without using sudo
...
`ros` and `system-docker` command requires user to be the root user,
when we running them without using sudo, it will print the follow:
[rancher@rancher ~]$ ros os list
ERRO[0000] Failed to read /var/lib/rancher/conf/cloud-config.d: open
/var/lib/rancher/conf/cloud-config.d: permission denied
ERRO[0000] Error reading config files err=open
/var/lib/rancher/conf/cloud-config.yml: permission denied
files=[/var/lib/rancher/conf/cloud-config.yml]
ERRO[0000] Failed [1/4] 25%
ERRO[0000] Failed to load config
......
......
FATA[0000] open /var/lib/rancher/conf/cloud-config.yml: permission
denied
and
[rancher@rancher ~]$ system-docker restart docker
Failed to kill container(docker): Cannot connect to the Docker daemon.
Is the docker daemon running on this host?
this patch make the tips more clear and simple.
Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-03-16 17:50:54 +08:00
Darren Shepherd
99eaf61978
Merge pull request #806 from imikushin/strip-bin
...
Use the correct strip binary
2016-03-15 16:19:46 -07:00
Ivan Mikushin
3b6d47be32
Use the correct strip binary.
...
Fixes native builds on ARM
2016-03-15 15:58:03 -07:00
Darren Shepherd
60e0ed9be4
Merge pull request #800 from DieterReuter/rpi3-image
...
WIP: Refactored RPI building scripts and support for Raspberry Pi 3
2016-03-15 09:59:47 -07:00
Darren Shepherd
e9ab9e408e
Merge pull request #795 from imikushin/customize-installer
...
ARM installer
2016-03-15 09:59:08 -07:00
Ivan Mikushin
356f25be20
cross-build is back
...
`HOST_ARCH=arm64 ./make.sh minimal` builds vmlinuz and initrd for arm64 on arm64 (sourcing .docker-env.arm64 in the process)
`ARCH=arm ./make.sh rootfs` builds rootfs.tar.gz for arm on your current docker environment
2016-03-15 09:01:10 -07:00