summaryrefslogtreecommitdiffstats
path: root/hosts/logi1/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/logi1/postinst')
-rw-r--r--hosts/logi1/postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/logi1/postinst b/hosts/logi1/postinst
index cffb8d3..cd49735 100644
--- a/hosts/logi1/postinst
+++ b/hosts/logi1/postinst
@@ -52,6 +52,13 @@ in_target apt-get -q -y --purge autoremove || return 1
# Remove packages from APT cache.
in_target apt-get clean || return 1
+# Install GRUB.
+in_target update-grub
+in_target grub-install "${dev}"
+
+# Update initramfs.
+in_target update-initramfs -u
+
# Add user to groups created by postinst_pkgs.
in_target adduser pj scanner || return 1
in_target adduser pj wireshark || return 1