forked from uncloud/uncloud
+ old stuff
This commit is contained in:
parent
c6b7152464
commit
ef76304bae
2 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,7 @@ table bridge filter {
|
||||||
ip version 4 udp sport 67 drop
|
ip version 4 udp sport 67 drop
|
||||||
|
|
||||||
# Individual blocks
|
# Individual blocks
|
||||||
iifname tap1 jump vm1
|
# iifname tap1 jump vm1
|
||||||
}
|
}
|
||||||
|
|
||||||
chain vm1 {
|
chain vm1 {
|
||||||
|
|
|
@ -19,5 +19,6 @@ $qemu -name uc${vmid} \
|
||||||
-smp ${cores} \
|
-smp ${cores} \
|
||||||
-uuid ${uuid} \
|
-uuid ${uuid} \
|
||||||
-drive file=alpine-virt-3.11.2-x86_64.iso,media=cdrom \
|
-drive file=alpine-virt-3.11.2-x86_64.iso,media=cdrom \
|
||||||
|
-drive file=alpine-virt-3.11.2-x86_64.iso,media=cdrom \
|
||||||
-netdev tap,id=netmain,script=./ifup.sh \
|
-netdev tap,id=netmain,script=./ifup.sh \
|
||||||
-device virtio-net-pci,netdev=netmain,id=net0,mac=02:00:f0:a9:c4:4e
|
-device virtio-net-pci,netdev=netmain,id=net0,mac=02:00:f0:a9:c4:4e
|
||||||
|
|
Loading…
Reference in a new issue