mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 03:12:30 +00:00 
			
		
		
		
	Remove trailing spaces in file xCAT-server/share/xcat/scripts/genduiduuid.sh
This commit is contained in:
		| @@ -1,7 +1,7 @@ | ||||
| if [ ! -r /etc/redhat-release ] || ! grep "release 6" /etc/redhat-release >/dev/null; then | ||||
|     exit 0; #only rhel6 supported | ||||
| fi | ||||
| if [ -r /sys/devices/virtual/dmi/id/product_uuid ]; then  | ||||
| if [ -r /sys/devices/virtual/dmi/id/product_uuid ]; then | ||||
|     duid='default-duid "\000\004'; | ||||
|     for i in `sed -e 's/\(..\)\(..\)\(..\)\(..\)-\(..\)\(..\)-\(..\)\(..\)/\4\3\2\1-\6\5-\8\7/;s/-//g;s/\(..\)/\1 /g' /sys/devices/virtual/dmi/id/product_uuid`; do | ||||
|         num=`printf "%d" 0x$i` | ||||
|   | ||||
		Reference in New Issue
	
	Block a user