...
 
Commits (3)
......@@ -27,6 +27,14 @@
mkdir -p /etc/salt/minion.d/
# Disable caching of installed deb packages and remove existing cache
cat > /etc/apt/apt.conf.d/01nocache << EOF
Dir::Cache "";
Dir::Cache::archives "";
EOF
rm -rf /var/cache/apt/archives
# Add the master to point at to the machine
cat > /etc/salt/minion.d/master.conf << EOF
master: 192.168.1.1
......
......@@ -55,22 +55,8 @@ d-i clock-setup/ntp-server string 10.7.196.55
# If this command doesn't succeed it doesn't matter, just go on.
d-i partman/early_command string umount /media || true
# Configure hard disks
d-i partman-auto/disk string /dev/<disk>
# No lvm or md
d-i partman-auto/method string regular
# force removal of lvm and md devices
d-i partman-lvm/device_remove_lvm boolean true
d-i partman-md/devices_remove_md boolean true
# Write everything without asking
d-i partman-partitioning/confirm_write_new_label boolean true
d-i partman/choose_partition select finish
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
# Use a single partition (or two if using UEFI)
d-i partman-auto/choose_recipe select atomic
# No swap
d-i partman-basicfilesystems partman-basicfilesystems/no_swap boolean false
# Use UUID's to mount drives
d-i partman/mount_style select uuid
......@@ -87,7 +73,7 @@ d-i pkgsel/update-policy select none
# Install grub automatically to <disk>
d-i grub-installer/only_debian boolean true
d-i grub-installer/bootdev string /dev/<disk>
d-i grub-installer/bootdev string /dev/mmcblk0
# Install avahi-daemon
# Note: Salt is not installed here because it is no longer in the debian repo..
......