refs #964 hardcode DNS server, clone a specific ogcore branch
oginstaller/pipeline/head This commit looks good
Details
oginstaller/pipeline/head This commit looks good
Details
parent
e3a03b3706
commit
fe30c0c651
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue