refs #964 hardcode DNS server, clone a specific ogcore branch
oginstaller/pipeline/head This commit looks good Details

move-to-docker
Natalia Serrano 2024-10-30 18:10:36 +01:00
parent e3a03b3706
commit fe30c0c651
2 changed files with 4 additions and 1 deletions

View File

@ -72,6 +72,8 @@ printf $(du -sx --block-size=1 $CHROOT_DIR | cut -f1) | tee $IMAGE_DIR/casper/fi
# Deboot strap real Ubuntu image
debootstrap --arch=amd64 --variant=minbase noble $UBUNTU_CHROOT_DIR $DEBOOT_STRAP_URL
rm -f $UBUNTU_CHROOT_DIR/etc/resolv.conf
echo 'nameserver 8.8.8.8' >$UBUNTU_CHROOT_DIR/etc/resolv.conf
cp setup_chroot_ubuntu.sh $UBUNTU_CHROOT_DIR
chroot $UBUNTU_CHROOT_DIR chmod +x /setup_chroot_ubuntu.sh
cp buildlib.sh $UBUNTU_CHROOT_DIR

View File

@ -109,7 +109,8 @@ do
case $component in
ogCore)
echo "Instalando ogCore..."
git clone "$OGCORE_REPO" "$component_dir/repo"
OGCORE_BRANCH=jenkins-provision
git clone --branch "$OGCORE_BRANCH" "$OGCORE_REPO" "$component_dir/repo"
echo - ogCore >> /etc/issue
install_docker
install_ogcore_docker