Update preseed.cfg
This commit is contained in:
		
							parent
							
								
									acd5b6f130
								
							
						
					
					
						commit
						0f42c680de
					
				
							
								
								
									
										34
									
								
								preseed.cfg
								
								
								
								
							
							
						
						
									
										34
									
								
								preseed.cfg
								
								
								
								
							| 
						 | 
					@ -46,29 +46,29 @@ d-i preseed/late_command string \
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Package selection
 | 
					# Package selection
 | 
				
			||||||
tasksel tasksel/first multiselect standard
 | 
					tasksel tasksel/first multiselect standard
 | 
				
			||||||
d-i pkgsel/include string build-essential, libpam-ldapd, nslcd, autofs, alice-test
 | 
					d-i pkgsel/include string build-essential, alice-full
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Ldap and NFS
 | 
					# Ldap and NFS
 | 
				
			||||||
d-i preseed/late_command string \
 | 
					#d-i preseed/late_command string \
 | 
				
			||||||
	echo "/nethome/ /etc/auto.nethome" >> /target/etc/auto.master; \
 | 
						#echo "/nethome/ /etc/auto.nethome" >> /target/etc/auto.master; \
 | 
				
			||||||
	echo "* 172.18.0.19:/nethome/&" >> /target/etc/auto.nethome; \
 | 
						#echo "* 172.18.0.19:/nethome/&" >> /target/etc/auto.nethome; \
 | 
				
			||||||
	in-target sed -i "/\^(passwd\|group\|shadow\)/s/files systemd/files ldap systemd/g" /etc/nsswitch.conf;
 | 
						#in-target sed -i "/\^(passwd\|group\|shadow\)/s/files systemd/files ldap systemd/g" /etc/nsswitch.conf;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Preseed settings for libpam-ldapd
 | 
					# Preseed settings for libpam-ldapd
 | 
				
			||||||
libpam-ldapd   libpam-ldapd/ldapns/ldap-server    string ldaps://alice.ufsj.edu.br:33001
 | 
					#libpam-ldapd   libpam-ldapd/ldapns/ldap-server    string ldaps://alice.ufsj.edu.br:33001
 | 
				
			||||||
libpam-ldapd   libpam-ldapd/ldapns/base-dn        string dc=alice,dc=ufsj,dc=edu,dc=br
 | 
					#libpam-ldapd   libpam-ldapd/ldapns/base-dn        string dc=alice,dc=ufsj,dc=edu,dc=br
 | 
				
			||||||
libpam-ldapd   libpam-ldapd/ldapns/ldap_version   select 3
 | 
					#libpam-ldapd   libpam-ldapd/ldapns/ldap_version   select 3
 | 
				
			||||||
libpam-ldapd   shared/ldapns/ldap-server          string ldaps://alice.ufsj.edu.br:33001
 | 
					#libpam-ldapd   shared/ldapns/ldap-server          string ldaps://alice.ufsj.edu.br:33001
 | 
				
			||||||
libpam-ldapd   shared/ldapns/base-dn              string dc=alice,dc=ufsj,dc=edu,dc=br
 | 
					#libpam-ldapd   shared/ldapns/base-dn              string dc=alice,dc=ufsj,dc=edu,dc=br
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Preseed settings for nslcd
 | 
					# Preseed settings for nslcd
 | 
				
			||||||
nslcd nslcd/ldap-uris string ldaps://alice.ufsj.edu.br:33001
 | 
					#nslcd nslcd/ldap-uris string ldaps://alice.ufsj.edu.br:33001
 | 
				
			||||||
nslcd nslcd/ldap-base string dc=alice,dc=ufsj,dc=edu,dc=br
 | 
					#nslcd nslcd/ldap-base string dc=alice,dc=ufsj,dc=edu,dc=br
 | 
				
			||||||
nslcd nslcd/ldap-auth-type select simple
 | 
					#nslcd nslcd/ldap-auth-type select simple
 | 
				
			||||||
nslcd nslcd/ldap-starttls boolean false
 | 
					#nslcd nslcd/ldap-starttls boolean false
 | 
				
			||||||
nslcd nslcd/ldap-version select 3
 | 
					#nslcd nslcd/ldap-version select 3
 | 
				
			||||||
nslcd nslcd/ldap-sasl-mech select none
 | 
					#nslcd nslcd/ldap-sasl-mech select none
 | 
				
			||||||
nslcd nslcd/ldap-reqcert select demand
 | 
					#nslcd nslcd/ldap-reqcert select demand
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Install the GRUB bootloader
 | 
					# Install the GRUB bootloader
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue