1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

Add build-moby and run-moby to start

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-05-03 15:40:30 +10:00
parent af965e9446
commit a366336895
10 changed files with 196 additions and 109 deletions

11
scripts/run-moby Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
cd $(dirname $0)/../dist/moby
qemu-system-x86_64 \
-nographic \
-kernel ./rancheros-kernel \
-initrd ./rancheros-initrd.img \
-m 2048 \
-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'