Update ramfs with chroot...

This commit is contained in:
gardouille 2020-12-14 12:36:17 +01:00
parent 265c4f8110
commit a1bee64ed5
Signed by: gardouille
GPG Key ID: E759BAA22501AF32
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ luks_part_uuid=$(blkid | grep "${hdd}2.*TYPE=\"crypto_LUKS\"" | sed 's/.*UUID="\
printf '%b\n' "${luks_pv_name} UUID=${luks_part_uuid} none luks,discard" >> /target/etc/crypttab
### Regenerate initramfs
update-initramfs -k all -u
chroot /target update-initramfs -k all -u
## }}}
## Network {{{
### Get all informations from current network configuration in rescue mode