autoinstall early-commands

Jerry Geis jerry.geis at gmail.com
Sat Jan 16 14:25:03 UTC 2021


I am trying to write some commands in the early-commands section that
needs to check if /dev/sda1 exists, if so mount it , cp off
/etc/sysconfig/network-scripts/ifcfg-eth to /target/root/ifcfg-eth0

however I dont know how to do the first mount such that autoinstall is
happy and does not exit with error if /dev/sda1 does not exits.

How do you do that ?
Thanks,

Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20210116/da4244fb/attachment.html>


More information about the ubuntu-users mailing list