Compare commits
2 Commits
32b17e3f7d
...
37201a9361
Author | SHA1 | Date |
---|---|---|
Denis 'GNUtoo' Carikli | 37201a9361 | |
Denis 'GNUtoo' Carikli | 8e804b6b21 |
|
@ -63,12 +63,14 @@ preseed.img: Makefile preseed.cfg
|
||||||
rootfs.img.tmp: Makefile
|
rootfs.img.tmp: Makefile
|
||||||
qemu-img create -f qcow2 $@ 10G
|
qemu-img create -f qcow2 $@ 10G
|
||||||
|
|
||||||
|
# The 790M were found by trial and error. At 789M the netinstall
|
||||||
|
# complains about "low memory".
|
||||||
rootfs.img: preseed.img rootfs.img.tmp grub.iso
|
rootfs.img: preseed.img rootfs.img.tmp grub.iso
|
||||||
install -m 644 rootfs.img.tmp rootfs.img || rm -f rootfs.img
|
install -m 644 rootfs.img.tmp rootfs.img || rm -f rootfs.img
|
||||||
|
|
||||||
qemu-system-x86_64 \
|
qemu-system-x86_64 \
|
||||||
-M q35 \
|
-M q35 \
|
||||||
-m 2048M \
|
-m 790M \
|
||||||
-nographic \
|
-nographic \
|
||||||
-drive file=grub.iso,index=2,media=cdrom,if=ide \
|
-drive file=grub.iso,index=2,media=cdrom,if=ide \
|
||||||
-drive file=rootfs.img.tmp,index=1,media=disk,if=virtio \
|
-drive file=rootfs.img.tmp,index=1,media=disk,if=virtio \
|
||||||
|
|
|
@ -13,51 +13,51 @@
|
||||||
# GNU General Public License for more details.
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
# Accounts
|
# Accounts
|
||||||
d-i passwd/root-login boolean false
|
d-i passwd/root-login boolean false
|
||||||
d-i passwd/username string admin666
|
d-i passwd/username string admin666
|
||||||
d-i passwd/user-fullname string admin666
|
d-i passwd/user-fullname string admin666
|
||||||
d-i passwd/user-password password password
|
d-i passwd/user-password password password
|
||||||
d-i passwd/user-password-again password password
|
d-i passwd/user-password-again password password
|
||||||
|
|
||||||
# Keyboard layout
|
# Keyboard layout
|
||||||
d-i keyboard-configuration/xkb-keymap select us
|
d-i keyboard-configuration/xkb-keymap select us
|
||||||
|
|
||||||
# Locales
|
# Locales
|
||||||
d-i debian-installer/locale string en_US
|
d-i debian-installer/locale string en_US
|
||||||
|
|
||||||
# Network
|
# Network
|
||||||
d-i netcfg/choose_interface select auto
|
d-i netcfg/choose_interface select auto
|
||||||
d-i netcfg/get_domain string test
|
d-i netcfg/get_domain string test
|
||||||
d-i netcfg/get_hostname string test
|
d-i netcfg/get_hostname string test
|
||||||
|
|
||||||
# Package management
|
# Package management
|
||||||
d-i mirror/country string manual
|
d-i mirror/country string manual
|
||||||
d-i mirror/http/directory string /trisquel
|
d-i mirror/http/directory string /trisquel
|
||||||
d-i mirror/http/hostname string mirror.fsf.org
|
d-i mirror/http/hostname string mirror.fsf.org
|
||||||
d-i mirror/http/proxy string
|
d-i mirror/http/proxy string
|
||||||
popularity-contest popularity-contest/participate boolean false
|
popularity-contest popularity-contest/participate boolean false
|
||||||
|
|
||||||
# Partitioning
|
# Partitioning
|
||||||
d-i grub-installer/bootdev string /dev/vda
|
d-i grub-installer/bootdev string /dev/vda
|
||||||
d-i partman-auto-lvm/guided_size string max
|
d-i partman-auto-lvm/guided_size string max
|
||||||
d-i partman-auto/choose_recipe select atomic
|
d-i partman-auto/choose_recipe select atomic
|
||||||
d-i partman-auto/disk string /dev/vda
|
d-i partman-auto/disk string /dev/vda
|
||||||
d-i partman-auto/method string regular
|
d-i partman-auto/method string regular
|
||||||
d-i partman-md/confirm boolean true
|
d-i partman-md/confirm boolean true
|
||||||
d-i partman-partitioning/confirm_write_new_label boolean true
|
d-i partman-partitioning/confirm_write_new_label boolean true
|
||||||
d-i partman-partitioning/confirm_write_new_label boolean true
|
d-i partman-partitioning/confirm_write_new_label boolean true
|
||||||
d-i partman/choose_partition select finish
|
d-i partman/choose_partition select finish
|
||||||
d-i partman/choose_partition select finish
|
d-i partman/choose_partition select finish
|
||||||
d-i partman/confirm boolean true
|
d-i partman/confirm boolean true
|
||||||
d-i partman/confirm boolean true
|
d-i partman/confirm boolean true
|
||||||
d-i partman/confirm_nooverwrite boolean true
|
d-i partman/confirm_nooverwrite boolean true
|
||||||
d-i partman/confirm_nooverwrite boolean true
|
d-i partman/confirm_nooverwrite boolean true
|
||||||
|
|
||||||
# Timezone
|
# Timezone
|
||||||
d-i clock-setup/ntp boolean true
|
d-i clock-setup/ntp boolean true
|
||||||
d-i clock-setup/utc boolean true
|
d-i clock-setup/utc boolean true
|
||||||
d-i time/zone string Europe/Paris
|
d-i time/zone string Europe/Paris
|
||||||
|
|
||||||
# Shutdown at the end
|
# Shutdown at the end
|
||||||
d-i finish-install/reboot_in_progress note
|
d-i finish-install/reboot_in_progress note
|
||||||
d-i debian-installer/exit/poweroff boolean true
|
d-i debian-installer/exit/poweroff boolean true
|
||||||
|
|
Loading…
Reference in New Issue