mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-04 05:12:30 +00:00 
			
		
		
		
	bug 4473: fix for locales setup for Ubuntu stateless nodes
This commit is contained in:
		
							
								
								
									
										3
									
								
								xCAT-server/share/xcat/netboot/ubuntu/compute.exlist
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										3
									
								
								xCAT-server/share/xcat/netboot/ubuntu/compute.exlist
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							@@ -1,6 +1,4 @@
 | 
			
		||||
./usr/share/man/*
 | 
			
		||||
./usr/share/locale/*
 | 
			
		||||
./usr/share/i18n*
 | 
			
		||||
./var/cache/yum*
 | 
			
		||||
./usr/share/doc*
 | 
			
		||||
./usr/share/gnome*
 | 
			
		||||
@@ -8,6 +6,5 @@
 | 
			
		||||
./usr/share/cracklib*
 | 
			
		||||
./usr/share/info*
 | 
			
		||||
./usr/share/omf*
 | 
			
		||||
./usr/lib/locale*
 | 
			
		||||
./usr/lib/perl5*
 | 
			
		||||
./boot*
 | 
			
		||||
 
 | 
			
		||||
@@ -41,3 +41,13 @@ END
 | 
			
		||||
#for ext in pkglist exlist postinstall repolist; do
 | 
			
		||||
#  [ -r $workdir/$profile.$ext ] && cat $workdir/$profile.$ext | grep -E '^[[:space:]]*#.*[[:space:]]\$Id' >> $installroot/etc/IMGVERSION
 | 
			
		||||
#done
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#Setup locale for Ubuntu diskless nodes
 | 
			
		||||
echo "Setting up the locales";
 | 
			
		||||
chroot $installroot \
 | 
			
		||||
 locale-gen en_US.UTF-8 en_US
 | 
			
		||||
chroot $installroot \
 | 
			
		||||
 update-locale
 | 
			
		||||
chroot $installroot \
 | 
			
		||||
 dpkg-reconfigure locales
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user