Disable ipv6 stack to avoid package installation problems
oginstaller/pipeline/head This commit looks good
Details
oginstaller/pipeline/head This commit looks good
Details
parent
9659ba7a49
commit
0dfa410f02
|
@ -42,6 +42,12 @@ mkdir -p $CHROOT_DIR/usr/local/bin
|
|||
cp openGnsys-installer.sh $CHROOT_DIR/usr/local/bin/
|
||||
chmod +x $CHROOT_DIR/usr/local/bin/openGnsys-installer.sh
|
||||
|
||||
# Disable ipv6 stack
|
||||
|
||||
echo "net.ipv6.conf.all.disable_ipv6 = 1" > $CHROOT_DIR/etc/sysctl.d/99-og.conf
|
||||
echo "net.ipv6.conf.default.disable_ipv6 = 1" >> $CHROOT_DIR/etc/sysctl.d/99-og.conf
|
||||
echo "net.ipv6.conf.lo.disable_ipv6 = 1" >> $CHROOT_DIR/etc/sysctl.d/99-og.conf
|
||||
|
||||
|
||||
# # Create mount points
|
||||
mount --bind /dev/ $CHROOT_DIR/dev
|
||||
|
@ -87,6 +93,8 @@ chmod +x $UBUNTU_CHROOT_DIR/opengnsys-installer/provision_oggui.sh
|
|||
cp pat.txt $UBUNTU_CHROOT_DIR/opengnsys-installer/
|
||||
|
||||
|
||||
|
||||
|
||||
# Setup the chroot for ubuntu
|
||||
mount --bind /dev/ $UBUNTU_CHROOT_DIR/dev
|
||||
mount --bind /run/ $UBUNTU_CHROOT_DIR/run
|
||||
|
|
Loading…
Reference in New Issue