1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

move the new cli to 'os' - its very experimental atm

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-03-13 15:57:57 +10:00
parent dc540a0cf0
commit 2cd6ec4db6
6 changed files with 31 additions and 10 deletions

View File

@@ -24,6 +24,7 @@ docker run --rm -it \
-v $(pwd)/bin/ros:/usr/bin/ros \
-v /etc/ssl/certs:/etc/ssl/certs \
-v /usr/share/ca-certificates:/usr/share/ca-certificates \
-v $(pwd)/bin/ros:/usr/bin/os \
-w /var/lib/rancher \
--entrypoint sh \
rancher/os-base:v0.8.1

View File

@@ -3,7 +3,7 @@ set -e
cd $(dirname $0)/..
IMAGES=$(bin/host_ros old c images -i build/initrd/usr/share/ros/os-config.yml)
IMAGES=$(bin/host_ros c images -i build/initrd/usr/share/ros/os-config.yml)
for i in $IMAGES; do
if [ "${FORCE_PULL}" = "1" ] || ! docker inspect $i >/dev/null 2>&1; then
docker pull $i

View File

@@ -7,4 +7,4 @@ cd $(dirname $0)/..
OUTPUT=build/initrd/usr/share/ros
mkdir -p $OUTPUT
./bin/host_ros old c generate < os-config.tpl.yml > $OUTPUT/os-config.yml
./bin/host_ros c generate < os-config.tpl.yml > $OUTPUT/os-config.yml