
Adding fetch from url option to osconfig so that any resource can be downloaded from given url and installed it during image build process. Typical scenario in which user has to install custom package in user defined script. Eg. Installing kernel driver 'i40e' etc. Change-Id: Ic7d18f24e6faa4666b9d913cf360fe0bf11f2ef4
15 lines
680 B
YAML
15 lines
680 B
YAML
- name: "QCOW | Mount remaining targets"
|
|
shell: |
|
|
set -e
|
|
cd "{{ dst }}"
|
|
mountpoint sys > /dev/null || mount -t sysfs /sys sys
|
|
if [ -d /sys/firmware/efi ]; then
|
|
mountpoint sys/firmware/efi > /dev/null || mount -o bind /sys/firmware/efi sys/firmware/efi
|
|
fi
|
|
mountpoint proc > /dev/null || mount -t proc /proc proc
|
|
mountpoint dev > /dev/null || mount -o bind /dev dev
|
|
mountpoint dev/pts > /dev/null || mount -t devpts /dev/pts dev/pts
|
|
if [ -d "/run/systemd/resolve" ]; then
|
|
mountpoint run/systemd/resolve > /dev/null || mount -o bind /run/systemd/resolve run/systemd/resolve
|
|
fi
|