dracut load configs from deployment
This commit is contained in:
parent
9b99fedeb6
commit
53e2c12a19
1 changed files with 2 additions and 0 deletions
2
arkdep
2
arkdep
|
@ -734,6 +734,8 @@ deploy () {
|
|||
# Install kernel and generate initramfs
|
||||
printf '\e[1;34m-->\e[0m\e[1m Generating initramfs\e[0m\n'
|
||||
dracut -q -k $arkdep_dir/deployments/${data[0]}/rootfs/usr/lib/modules/${kernels_installed[0]} \
|
||||
-c $arkdep_dir/deployments/${data[0]}/rootfs/etc/dracut.conf \
|
||||
--confdir $arkdep_dir/deployments/${data[0]}/rootfs/etc/dracut.conf.d \
|
||||
--kernel-image $arkdep_boot/arkdep/${data[0]}/vmlinuz \
|
||||
--kver ${kernels_installed[0]} \
|
||||
--force \
|
||||
|
|
Loading…
Add table
Reference in a new issue