mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
customize: Use --no-network flag so test works under UML.
This commit is contained in:
@@ -25,7 +25,9 @@ set -e
|
||||
for f in ../tests/guests/{debian,fedora,ubuntu}.img; do
|
||||
# Ignore zero-sized windows.img if ntfs-3g is not installed.
|
||||
if [ -s "$f" ]; then
|
||||
# Add --no-network so UML works.
|
||||
$VG ./virt-customize -n -a $f \
|
||||
--no-network \
|
||||
--write /etc/motd:HELLO \
|
||||
--delete /etc/motd
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user