From 8a47d099fd3b2a9c595a35569cfeefcc9b377b74 Mon Sep 17 00:00:00 2001 From: rosbeef andino Date: Mon, 13 Nov 2023 23:43:30 +0000 Subject: [PATCH] Update ynh-dev armhf wip8 --- ynh-dev | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ynh-dev b/ynh-dev index bad5662..d0eb0d7 100755 --- a/ynh-dev +++ b/ynh-dev @@ -243,12 +243,11 @@ EOF sudo lxc image import ~/lxc-images/debian-$DIST/metadata.tar.gz ~/lxc-images/debian-$DIST/rootfs.tar.gz --alias $BOX-rebuild sudo lxc launch $BOX-rebuild $BOX-rebuild -c security.nesting=true -c security.privileged=true sudo lxc exec $BOX-rebuild -- dhclient - sudo lxc exec $BOX-rebuild -- cat << EOF > /etc/network/interfaces.d/eth0 + sudo lxc exec $BOX-rebuild -- bash -c "cat << EOF > /etc/network/interfaces.d/eth0 auto eth0 iface eth0 inet dhcp allow-hotplug eth0 -EOF - +EOF" else sudo lxc launch images:debian/$DIST/$ARCH $BOX-rebuild -c security.nesting=true -c security.privileged=true fi