From 515ebf38f92b290848382b83554b08bdc3c66626 Mon Sep 17 00:00:00 2001 From: "Bohan Yang (Brent)" Date: Thu, 18 Apr 2019 09:00:23 +0800 Subject: [PATCH] Update netboot.sh --- netboot.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/netboot.sh b/netboot.sh index c22fbac..3854ae3 100644 --- a/netboot.sh +++ b/netboot.sh @@ -16,7 +16,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -set -ex +set -e while [ $# -gt 0 ]; do case $1 in @@ -370,3 +370,6 @@ initrd $DEBI_TARGET_PATH/initrd.gz EOF fi + +cat preseed.cfg +tail -n 7 "$DEBI_GRUB_CONFIG"