* Fix 'dependency problems' handling in buildd functions.
* Add buildd/remove_isos.sh to remove generated ISOs.
* Support kernel upgrades via according /etc/kernel-img.conf configuration.
+ * Set hostname in instsoft-hook already.
* Add new packages to GRML_FULL:
- hdapsd
- hdaps-utils
# visualize chroot inside zsh:
echo grml_chroot > $target/etc/debian_chroot
+HOSTNAME=''
+[ -r /etc/grml/grml-live.conf ] && . /etc/grml/grml-live.conf
+[ -n "$HOSTNAME" ] || HOSTNAME=grml
+echo "$HOSTNAME" > $target/etc/hostname
+
if [ "$FAI_ACTION" = "softupdate" ] ; then
echo "Softupdate of FAI via grml-live running"
[ -n "$HOSTNAME" ] || HOSTNAME=grml
echo "$HOSTNAME" > $target/etc/hostname
+#if [ -r $target/etc/postfix/main.cf ] ; then
+# sed -i "s/^mydestination = .*/mydestination = $HOSTNAME, localhost, localhost.localdomain/" $target/etc/postfix/main.cf
+# sed -i "s/^myhostname = .*/myhostname = $HOSTNAME/" $target/etc/postfix/main.cf
+#fi
+
## END OF FILE #################################################################
# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3