1
0
mirror of https://github.com/rancher/os.git synced 2025-07-06 03:26:12 +00:00
Commit Graph

1327 Commits

Author SHA1 Message Date
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
Ivan Mikushin
35ccb325ba add kexec to arm64 installer image 2016-03-14 12:08:11 -07:00
Ivan Mikushin
142ec23778 Build for ARM64 on ARM64, installer included 2016-03-14 12:08:11 -07:00
Ivan Mikushin
60d3a828ae use docker-1.10.2 at build time 2016-03-14 11:59:11 -07:00
Ivan Mikushin
5cc96f67a7 update to DFS v1.10.2-1 2016-03-14 11:59:11 -07:00
Ivan Mikushin
a557961c65 fix services repo URL for architectures other than default (amd64) 2016-03-14 11:59:11 -07:00
Dieter Reuter
d30e307e2f Refactor image builder, add support for Pi 3 2016-03-07 09:30:24 +01:00
Dieter Reuter
58c769cab5 Ignore dist folder 2016-03-07 09:29:12 +01:00
Josh Curl
2f10f9052a Stage services when they are enabled 2016-02-29 19:29:07 -08:00
Ivan Mikushin
0bab70e84e cleanup Makefile a bit 2016-02-29 17:03:34 -08:00
Darren Shepherd
0f263d570b Merge pull request #785 from joshwget/kexec-upgrade
Kexec upgrade
2016-02-28 23:28:44 -07:00
Darren Shepherd
e5745261c1 Merge pull request #790 from ibuildthecloud/packet-1
Add Type-0 to docs
2016-02-28 23:02:27 -07:00
Darren Shepherd
042c0d2328 Add Type-0 to docs 2016-02-28 23:01:41 -07:00
Darren Shepherd
e9d475087c Merge pull request #788 from ibuildthecloud/packet-1
Add scripts for installing on packet
2016-02-28 22:53:04 -07:00
Darren Shepherd
c3beb4f929 Merge pull request #789 from imikushin/get-os-config-back
Get back generated os-config.yml
2016-02-28 19:55:07 -07:00
Ivan Mikushin
17e432545c Get back generated os-config.yml 2016-02-28 11:17:03 -08:00
Darren Shepherd
4aae611660 Add scripts for installing on packet 2016-02-27 23:02:53 -07:00
Josh Curl
9d46ab4df8 Kexec upgrade 2016-02-27 15:30:53 -08:00
Josh Curl
82ec567d52 Warn if upgrading to the currently running version 2016-02-27 09:00:50 -08:00
Darren Shepherd
c8f0d7cdaf Merge pull request #779 from imikushin/dry
generate os-config.yml
2016-02-26 19:00:51 -07:00
Ivan Mikushin
8b72377a3c generate os-config.yml 2016-02-26 17:46:55 -08:00
Darren Shepherd
e861ae65ca Merge pull request #783 from joshwget/fix-upgrade-stage
Only run upgrade container once
2016-02-26 15:34:25 -07:00
Josh Curl
6f94672044 Only run upgrade container once 2016-02-26 14:29:35 -08:00
Darren Shepherd
c7cbb1660a Merge pull request #782 from joshwget/clean-up-upgrade-container
Clean up upgrade container
2016-02-26 15:11:54 -07:00
Josh Curl
2fb203997d Clean up upgrade container 2016-02-25 14:02:58 -08:00
Ivan Mikushin
077a902010 Merge pull request #780 from imikushin/fix-arm
Repair build for arm
2016-02-25 11:32:04 -08:00
Ivan Mikushin
ac1b6a6797 Repair build for arm
and make sure CI breaks if arm is broken
2016-02-25 11:18:03 -08:00
Ivan Mikushin
a60d9059d4 Merge pull request #776 from imikushin/docker-1.10.2
bump to docker-1.10.2
2016-02-23 17:01:59 -08:00
Ivan Mikushin
967ff31e00 bump to docker-1.10.2 2016-02-23 16:56:27 -08:00
Darren Shepherd
c95515efb7 Merge pull request #774 from joshwget/rename-selinux-tools-image
Rename SELinux tools image
2016-02-23 12:26:11 -07:00
Josh Curl
99450ccdd4 Rename SELinux tools image 2016-02-23 08:59:58 -08:00
Darren Shepherd
42a0c45245 Merge pull request #772 from joshwget/selinux-tools-command
SELinux tools command
2016-02-22 22:41:14 -07:00
Josh Curl
d1abe590dd SELinux tools command 2016-02-22 21:35:15 -08:00
Darren Shepherd
e2dffb0561 Merge pull request #770 from joshwget/selinux
Enable SELinux
2016-02-22 11:26:01 -07:00
Josh Curl
f28d463504 Enable SELinux 2016-02-19 16:11:32 -08:00
Josh Curl
90c8de9c0a Update rancher/docker-from-scratch 2016-02-18 16:35:53 -08:00
Darren Shepherd
cd8ab49579 Merge pull request #769 from ibuildthecloud/os
Scripts to build OpenStack/KVM image
2016-02-18 10:11:44 -07:00
Darren Shepherd
01252fc044 Scripts to build OpenStack/KVM image 2016-02-18 10:10:56 -07:00
Darren Shepherd
9b2339fcd0 Merge pull request #768 from ibuildthecloud/rpi
RPI building scripts
2016-02-18 09:59:29 -07:00
Darren Shepherd
b2db201af9 RPI building scripts 2016-02-18 09:58:39 -07:00
Ivan Mikushin
ba5e4471b7 Merge pull request #765 from imikushin/bump-dev-version
v0.4.4-dev
2016-02-16 14:43:25 -08:00
Ivan Mikushin
bb62a71a93 v0.4.4-dev 2016-02-16 14:31:11 -08:00
Ivan Mikushin
96b52c6cad Merge pull request #763 from imikushin/bump-docker
bump to docker-1.10.1
2016-02-15 14:29:18 -08:00
Ivan Mikushin
2f0a918ba4 bump to docker-1.10.1 2016-02-15 14:08:23 -08:00
Ivan Mikushin
0acd347554 Merge pull request #757 from ibuildthecloud/fix-set-list
Fix ros config set for list values
2016-02-11 10:22:21 -08:00