Skip to content

Commit 6f07740

Browse files
committed
modified: add-bridge.sh
modified: define-guest-image.sh
1 parent fca482a commit 6f07740

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

add-bridge.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ IPv4 range : ${ip4}0 255.255.255.0
161161
DHCP range : ${ip4}128 - ${ip4}150
162162
Bridge IPv6 address : ${ip6}1/64
163163
IPv6 range : ${ip6}/64
164-
DHCPv6 range : ${ip6}128/24 - ${ip4}150/24
164+
DHCPv6 range : ${ip6}128/64 - ${ip6}150/64
165165
DNS Servers : ${ip4}1 and ${ip6}1
166166
EOF
167167
echo "~/${name}_report.txt writed : "

define-guest-image.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ size="8"
2727
# Hypervisor can be 'qemu', 'kvm' or 'xen'
2828
hypervisor="kvm"
2929
# RAM in Mb
30-
memory="512"
30+
memory="256"
3131
# Graphics 'none' or 'vnc'
3232
graphics="none"
3333
# Network interface and model 'virtio' or 'rtl8139' or 'e1000'
@@ -83,7 +83,7 @@ fi
8383
cp /var/lib/libvirt/images/$image /var/lib/libvirt/images/$disk
8484

8585
## Customize this new guest disk
86-
virt-sysprep -a /var/lib/libvirt/images/$disk --hostname $name --selinux-relabel --quiet
86+
##virt-sysprep -a /var/lib/libvirt/images/$disk --hostname $name --selinux-relabel --quiet
8787
#virt-sysprep -a guest.img --firstboot ./yum-update.sh --firstboot ./set-desktop.sh
8888
#virt-sysprep --script --run-command --upload
8989

0 commit comments

Comments
 (0)