mirror of
https://github.com/rancher/os.git
synced 2025-08-01 06:59:05 +00:00
commit
ffef51046c
@ -77,7 +77,7 @@ outer:
|
||||
"autoformat": {
|
||||
Net: "none",
|
||||
Privileged: true,
|
||||
Image: "autoformat",
|
||||
Image: "rancher/os-autoformat:"+config.VERSION,
|
||||
Command: project.NewCommand(format),
|
||||
Labels: project.NewSliceorMap(map[string]string{
|
||||
config.DETACH: "false",
|
||||
|
@ -40,7 +40,7 @@ chmod +x ${INITRD_DIR}/docker #ini
|
||||
|
||||
ln -sf bin/rancheros ./ros
|
||||
|
||||
for i in $(./ros c images -i os-config.yml); do
|
||||
for i in $(./ros c images -i os-config.yml) rancher/os-autoformat:${VERSION}; do
|
||||
docker pull ${i}
|
||||
done
|
||||
docker save $(./ros c images -i os-config.yml) > ${INITRD_DIR}/images.tar #initrd2-images: /images.tar
|
||||
docker save $(./ros c images -i os-config.yml) rancher/os-autoformat:${VERSION} > ${INITRD_DIR}/images.tar #initrd2-images: /images.tar
|
||||
|
Loading…
Reference in New Issue
Block a user