diff --git a/builder.sh b/builder.sh index e9319dd..66af3df 100755 --- a/builder.sh +++ b/builder.sh @@ -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 diff --git a/component-installer.sh b/component-installer.sh index f50cf98..3680a62 100644 --- a/component-installer.sh +++ b/component-installer.sh @@ -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