mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	uncomment the updates/security/src entries and correct some entries in source.list
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
|  | ||||
|   | ||||
| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user