mirror of
				https://github.com/kevinveenbirkenbach/linux-image-manager.git
				synced 2025-11-03 17:08:03 +00:00 
			
		
		
		
	Optimized seeding
This commit is contained in:
		@@ -424,8 +424,8 @@ if [ "$encrypt_system" == "y" ]
 | 
				
			|||||||
    boot_txt_path="/boot/boot.txt"
 | 
					    boot_txt_path="/boot/boot.txt"
 | 
				
			||||||
    boot_txt_rescue_path="/boot/boot.txt$rescue_suffix"
 | 
					    boot_txt_rescue_path="/boot/boot.txt$rescue_suffix"
 | 
				
			||||||
    boot_txt_uncomment_line="part uuid ${devtype} ${devnum}:2 uuid"
 | 
					    boot_txt_uncomment_line="part uuid ${devtype} ${devnum}:2 uuid"
 | 
				
			||||||
    boot_txt_setenv_origin="setenv bootargs console=ttyS1,115200 console=tty0 root=PARTUUID=\${uuid} rw rootwait smsc95xx.macaddr=\"\${usbethaddr}\""
 | 
					    boot_txt_setenv_origin=$(echo "setenv bootargs console=ttyS1,115200 console=tty0 root=PARTUUID=\${uuid} rw rootwait smsc95xx.macaddr=\"\${usbethaddr}\"" | sed -e 's/[]\/$*.^[]/\\&/g')
 | 
				
			||||||
    boot_txt_setenv_replace="setenv bootargs console=ttyS1,115200 console=tty0 ip=::::$target_hostname:eth0:dhcp cryptdevice=$encrypted_partition_path:root root=$root_mapper_path rw rootwait smsc95xx.macaddr=\"\${usbethaddr}\""
 | 
					    boot_txt_setenv_replace=$(echo "setenv bootargs console=ttyS1,115200 console=tty0 ip=::::$target_hostname:eth0:dhcp cryptdevice=$encrypted_partition_path:root root=$root_mapper_path rw rootwait smsc95xx.macaddr=\"\${usbethaddr}\""| sed -e 's/[\/&]/\\&/g')
 | 
				
			||||||
    info "Setup encryption..." &&
 | 
					    info "Setup encryption..." &&
 | 
				
			||||||
    (
 | 
					    (
 | 
				
			||||||
    echo "pacman --noconfirm -S --needed $(get_packages "server/luks")"
 | 
					    echo "pacman --noconfirm -S --needed $(get_packages "server/luks")"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user