diff --git a/xCAT-server/share/xcat/install/scripts/post.ubuntu b/xCAT-server/share/xcat/install/scripts/post.ubuntu index d8f948fe7..80a6ea669 100755 --- a/xCAT-server/share/xcat/install/scripts/post.ubuntu +++ b/xCAT-server/share/xcat/install/scripts/post.ubuntu @@ -32,7 +32,7 @@ done >>/etc/resolv.conf ln -sf /bin/bash /bin/sh # #delete the useless apt repo -sed -i 's/^deb.*updates.*$/#&/g' /etc/apt/sources.list +#sed -i 's/^deb.*updates.*$/#&/g' /etc/apt/sources.list # Run xCAT post install # export MASTER_IP="#XCATVAR:XCATMASTER#" @@ -230,9 +230,9 @@ script end script EOF fi -sed -i 's/\(deb.*security.*\)/#\1/' /etc/apt/sources.list +#sed -i 's/\(deb.*security.*\)/#\1/' /etc/apt/sources.list #iso does not contains source deb packages -sed -i 's/^\(\s*deb-src.*install.*\)$/#\1/g' /etc/apt/sources.list +#sed -i 's/^\(\s*deb-src.*install.*\)$/#\1/g' /etc/apt/sources.list #delete the 127.0.1.1 line from /etc/hosts sed -i '/127.0.1.1/d' /etc/hosts updateflag.awk $MASTER 3002 diff --git a/xCAT-server/share/xcat/install/ubuntu/compute.tmpl b/xCAT-server/share/xcat/install/ubuntu/compute.tmpl index 7f12d69cd..a0d3fa0cc 100644 --- a/xCAT-server/share/xcat/install/ubuntu/compute.tmpl +++ b/xCAT-server/share/xcat/install/ubuntu/compute.tmpl @@ -100,7 +100,7 @@ tasksel tasksel/first multiselect standard d-i pkgsel/include string #INCLUDE_DEFAULT_PKGLIST_PRESEED# -d-i debian-installer/allow_unauthenticated string true +d-i debian-installer/allow_unauthenticated boolean true d-i pkgsel/update-policy select none d-i pkgsel/updatedb boolean false diff --git a/xCAT-server/share/xcat/install/ubuntu/service.tmpl b/xCAT-server/share/xcat/install/ubuntu/service.tmpl index 8e7cbac67..ca87469ee 100644 --- a/xCAT-server/share/xcat/install/ubuntu/service.tmpl +++ b/xCAT-server/share/xcat/install/ubuntu/service.tmpl @@ -100,7 +100,7 @@ tasksel tasksel/first multiselect standard d-i pkgsel/include string #INCLUDE_DEFAULT_PKGLIST_PRESEED# -d-i debian-installer/allow_unauthenticated string true +d-i debian-installer/allow_unauthenticated boolean true d-i pkgsel/update-policy select none d-i pkgsel/updatedb boolean false