mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-29 08:47:24 +00:00
SampleApplication: Add dhclient command
1.Add the dhclient for the VM images. 2.Disable the schroot data mapping. Tracked-On: #7820 Signed-off-by: Liu Long <long.liu@linux.intel.com>
This commit is contained in:
parent
3a1ce77e01
commit
d6a9d2315e
@ -146,7 +146,7 @@ profile=desktop
|
|||||||
personality=linux
|
personality=linux
|
||||||
preserve-environment=true
|
preserve-environment=true
|
||||||
EOF
|
EOF
|
||||||
|
sudo sed -i -e '3,9 s/^/#/' /etc/schroot/default/nssdatabases
|
||||||
sudo mv ${temp_file} /etc/schroot/chroot.d/acrn-guest && \
|
sudo mv ${temp_file} /etc/schroot/chroot.d/acrn-guest && \
|
||||||
sudo chown root:root /etc/schroot/chroot.d/acrn-guest
|
sudo chown root:root /etc/schroot/chroot.d/acrn-guest
|
||||||
}
|
}
|
||||||
@ -156,6 +156,7 @@ function create_uio_config() {
|
|||||||
local temp_file=$(mktemp /tmp/rc.local.XXXX)
|
local temp_file=$(mktemp /tmp/rc.local.XXXX)
|
||||||
|
|
||||||
cat << EOF > ${temp_file}
|
cat << EOF > ${temp_file}
|
||||||
|
dhclient -q
|
||||||
modprobe uio
|
modprobe uio
|
||||||
modprobe uio_pci_generic
|
modprobe uio_pci_generic
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user