All Kickstart files for Red Hat distributions in the UnattendedTemplates directory run the redhat_postinstall.sh script with --nochroot in the %post section.
This includes the following files: rhel3_ks.cfg rhel4_ks.cfg rhel5_ks.cfg rhel67_ks.cfg fedora_ks.cfg Nonetheless, the redhat_postinstall.sh script includes the following comment: # Note! This script expects to be running chrooted (inside new sytem). The patch below removes this comment. I'm licensing this patch under the MIT license. Please review and consider integrating. Feedback is welcome. Thanks! Timothy Tacker diff --git a/src/VBox/Main/UnattendedTemplates/redhat_postinstall.sh b/src/VBox/Main/UnattendedTemplates/redhat_postinstall.sh index 82f77590..4e23084c 100755 --- a/src/VBox/Main/UnattendedTemplates/redhat_postinstall.sh +++ b/src/VBox/Main/UnattendedTemplates/redhat_postinstall.sh @@ -2,8 +2,6 @@ ## @file # Post installation script template for redhat- distros. # -# Note! This script expects to be running chrooted (inside new sytem). -# # # Copyright (C) 2017-2020 Oracle Corporation
_______________________________________________ vbox-dev mailing list [email protected] https://www.virtualbox.org/mailman/listinfo/vbox-dev
