mirror of
https://github.com/rancher/os.git
synced 2025-09-19 17:38:30 +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
|
||||
mkdir -p 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
|
||||
# - rancher/os-installer
|
||||
# - rancher/os-initrd
|
||||
outputs:
|
||||
- format: kernel+initrd
|
||||
- format: iso-bios
|
||||
#outputs:
|
||||
# - format: kernel+initrd
|
||||
# - format: iso-bios
|
||||
# - format: iso-efi
|
||||
# - format: gcp-img
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
cd $(dirname $0)/../dist/moby
|
||||
|
||||
if [ "1" == "1" ]; then
|
||||
if [ "1" == "2" ]; then
|
||||
linuxkit run -mem 2048 rancheros
|
||||
else
|
||||
qemu-system-x86_64 \
|
||||
@@ -10,6 +10,10 @@ else
|
||||
-kernel ./rancheros-kernel \
|
||||
-initrd ./rancheros-initrd.img \
|
||||
-m 2048 \
|
||||
-device virtio-rng-pci \
|
||||
-smp 1 \
|
||||
-enable-kvm \
|
||||
-machine q35,accel=kvm:tcg \
|
||||
-net nic,vlan=0,model=virtio \
|
||||
-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'
|
||||
|
Reference in New Issue
Block a user