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:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user