preseed test

This commit is contained in:
deflax 2018-04-04 19:24:04 +03:00
parent 73f1856c56
commit 9558b90bd2

View file

@ -59,6 +59,7 @@ def create(json):
scsihw='virtio-scsi-pci',
scsi0='file=lvm:' + image_name + ',discard=on',
net0='virtio=8A:32:CD:E4:EE:11,bridge=' + json['net0if'] + ',tag=' + str(phy_id),
args='-kernel /tmp/linux -initrd /tmp/initrd.gz -append "preseed/url=https://www.datapoint.bg/static/datapoint.seed debian-installer/allow_unauthenticated_ssl=true locale=en_US.UTF-8 debian/priority=critical vga=normal debian-installer/keymap=en console-keymaps-at/keymap=en console-setup/layoutcode=en_US FRONTEND_BACKGROUND=original"',
description=description)
except Exception as e:
print(e)