mirror of
https://github.com/rancher/os.git
synced 2025-09-20 10:03:59 +00:00
updates for latest moby changes
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -8,6 +8,6 @@ docker build -t zombie/os - < scripts/moby/Dockerfile
|
|||||||
cd dist
|
cd dist
|
||||||
mkdir -p moby
|
mkdir -p moby
|
||||||
cd moby
|
cd moby
|
||||||
moby build ../../scripts/moby/rancheros
|
moby build -output kernel+initrd -output iso-bios ../../scripts/moby/rancheros.yml
|
||||||
|
|
||||||
|
|
||||||
|
@@ -7,8 +7,8 @@ init:
|
|||||||
- zombie/os
|
- zombie/os
|
||||||
# - rancher/os-installer
|
# - rancher/os-installer
|
||||||
# - rancher/os-initrd
|
# - rancher/os-initrd
|
||||||
outputs:
|
#outputs:
|
||||||
- format: kernel+initrd
|
# - format: kernel+initrd
|
||||||
- format: iso-bios
|
# - format: iso-bios
|
||||||
# - format: iso-efi
|
# - format: iso-efi
|
||||||
# - format: gcp-img
|
# - format: gcp-img
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
cd $(dirname $0)/../dist/moby
|
cd $(dirname $0)/../dist/moby
|
||||||
|
|
||||||
if [ "1" == "1" ]; then
|
if [ "1" == "2" ]; then
|
||||||
linuxkit run -mem 2048 rancheros
|
linuxkit run -mem 2048 rancheros
|
||||||
else
|
else
|
||||||
qemu-system-x86_64 \
|
qemu-system-x86_64 \
|
||||||
@@ -10,6 +10,10 @@ else
|
|||||||
-kernel ./rancheros-kernel \
|
-kernel ./rancheros-kernel \
|
||||||
-initrd ./rancheros-initrd.img \
|
-initrd ./rancheros-initrd.img \
|
||||||
-m 2048 \
|
-m 2048 \
|
||||||
|
-device virtio-rng-pci \
|
||||||
|
-smp 1 \
|
||||||
|
-enable-kvm \
|
||||||
|
-machine q35,accel=kvm:tcg \
|
||||||
-net nic,vlan=0,model=virtio \
|
-net nic,vlan=0,model=virtio \
|
||||||
-net user,vlan=0,hostfwd=tcp::3333-:22,hostname=rancher-moby \
|
-net user,vlan=0,hostfwd=tcp::3333-:22,hostname=rancher-moby \
|
||||||
-append 'printk.devkmsg=on rancher.debug=true rancher.password=rancher console=ttyS0 rancher.autologin=ttyS0 console=tty0 rancher.autologin=tty0 console=tty1 rancher.autologin=tty1 rancher.state.dev=LABEL=RANCHER_STATE rancher.state.autoformat=[/dev/sda,/dev/vda] rancher.rm_usr'
|
-append 'printk.devkmsg=on rancher.debug=true rancher.password=rancher console=ttyS0 rancher.autologin=ttyS0 console=tty0 rancher.autologin=tty0 console=tty1 rancher.autologin=tty1 rancher.state.dev=LABEL=RANCHER_STATE rancher.state.autoformat=[/dev/sda,/dev/vda] rancher.rm_usr'
|
||||||
|
Reference in New Issue
Block a user