mirror of
https://github.com/rancher/os.git
synced 2025-08-01 23:17:50 +00:00
commit
ffef51046c
@ -77,7 +77,7 @@ outer:
|
|||||||
"autoformat": {
|
"autoformat": {
|
||||||
Net: "none",
|
Net: "none",
|
||||||
Privileged: true,
|
Privileged: true,
|
||||||
Image: "autoformat",
|
Image: "rancher/os-autoformat:"+config.VERSION,
|
||||||
Command: project.NewCommand(format),
|
Command: project.NewCommand(format),
|
||||||
Labels: project.NewSliceorMap(map[string]string{
|
Labels: project.NewSliceorMap(map[string]string{
|
||||||
config.DETACH: "false",
|
config.DETACH: "false",
|
||||||
|
@ -40,7 +40,7 @@ chmod +x ${INITRD_DIR}/docker #ini
|
|||||||
|
|
||||||
ln -sf bin/rancheros ./ros
|
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}
|
docker pull ${i}
|
||||||
done
|
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