list bridges
[gnt-info] / gnt-instance-add-bullseye.sh
1 #!/bin/sh -xe
2 mem=2G
3 disk=10G
4 cpu=2
5 instance=$1
6
7 test -z "$instance" && echo "Usage: $0 instance-name" && exit 1
8
9 gnt-instance add -B maxmem=$mem,vcpus=$cpu -t drbd -n r1u32:r1u28 -o debootstrap+bullseye -s $disk --no-name-check --no-ip-check --no-start $instance
10 gnt-instance modify -H initrd_path=,kernel_path= $instance
11 gnt-instance start $instance
12