Site Tools


host:generic

This is an old revision of the document!


host:generic

install

brctl addbr br0
ifconfig br0 192.168.66.1 netmask 255.255.255.0 up
tunctl -b -u bk024969 -t tap0
brctl addif br0 tap0
ifconfig tap0 up 0.0.0.0 promisc

qemu-img create -f qcow2 base.img 5G

start-base with rescue cd

#!/bin/bash

qemu-system-x86_64 \
  -vnc 10.47.112.10:0 \
  -cpu host \
  -smp 2 \
  -drive file=base.img,if=virtio,media=disk \
  -m 2048 \
  -k de \
  -net nic,macaddr=00:00:00:00:00:02,model=virtio \
  -net tap,ifname=tap0,script=no,downscript=no \
  -cdrom systemrescuecd-x86-4.0.0.iso \
  -boot d \
  -enable-kvm

start-base without cd

qemu-system-x86_64 \
  -cpu host \
  -smp 2 \
  -drive file=base.img,if=virtio,media=disk \
  -m 1024 \
  -k de \
  -vga none \
  -nographic \
  -net nic,macaddr=00:00:00:00:00:03,model=virtio \
  -net tap,ifname=tap0,script=no,downscript=no \
  -enable-kvm &
host/generic.1482145613.txt.gz · Last modified: by sloader