1
0
mirror of https://github.com/rancher/os.git synced 2025-08-14 13:03:22 +00:00
os/scripts/run-moby
Olli Janatuinen 872f1cd6da Initiate Burmilla OS project
- Use burmilla GitHub repos
- Release under burmilla Docker Hub
- GitHub action for create releases
- Updated boot image and login banner
- Use Debian as default console
- Updated system-cron to v0.5.0
- Updated services to latest versions
- Bump up kernel to 4.14.206
- Include burmilla/os-debianconsole:v1.9.0 to initrd
2021-02-18 20:07:36 +02:00

21 lines
739 B
Bash
Executable File

#!/bin/bash
cd $(dirname $0)/../dist/moby
if [ "1" == "2" ]; then
linuxkit run -mem 2048 rancheros
else
qemu-system-x86_64 \
-nographic \
-kernel ./burmillaos-kernel \
-initrd ./burmillaos-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'
fi