mirror of
https://github.com/rancher/os.git
synced 2025-09-01 23:04:41 +00:00
Merge pull request #1219 from ibuildthecloud/scripts
Small script changes
This commit is contained in:
2
scripts/copy-latest.sh
Executable file
2
scripts/copy-latest.sh
Executable file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
gsutil -m cp -r dist/artifacts/* gs://releases.rancher.com/os/latest
|
3
scripts/copy-release.sh
Executable file
3
scripts/copy-release.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
. ./scripts/version
|
||||||
|
gsutil -m cp -r dist/artifacts/* gs://releases.rancher.com/os/${VERSION}
|
@@ -14,6 +14,7 @@ trap "poweroff" EXIT
|
|||||||
mount -t 9p -o trans=virtio,version=9p2000.L config-2 /mnt
|
mount -t 9p -o trans=virtio,version=9p2000.L config-2 /mnt
|
||||||
|
|
||||||
touch log
|
touch log
|
||||||
|
sleep 5
|
||||||
openvt -s -- tail -f log &
|
openvt -s -- tail -f log &
|
||||||
ros install -d /dev/vda -f --no-reboot >log 2>&1
|
ros install -d /dev/vda -f --no-reboot >log 2>&1
|
||||||
|
|
||||||
@@ -25,7 +26,7 @@ qemu-img create -f qcow2 build/hd.img 8G
|
|||||||
kvm -curses \
|
kvm -curses \
|
||||||
-drive if=virtio,file=build/hd.img \
|
-drive if=virtio,file=build/hd.img \
|
||||||
-cdrom assets/rancheros.iso \
|
-cdrom assets/rancheros.iso \
|
||||||
-m 1024 \
|
-m 2048 \
|
||||||
-fsdev local,id=conf,security_model=none,path=$(pwd)/build \
|
-fsdev local,id=conf,security_model=none,path=$(pwd)/build \
|
||||||
-device virtio-9p-pci,fsdev=conf,mount_tag=config-2
|
-device virtio-9p-pci,fsdev=conf,mount_tag=config-2
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user