Commit ef2cacf2 authored by Finn's avatar Finn

Update debian, use common

parent 827b967c
Pipeline #3070 failed with stage
in 1 minute and 31 seconds
tags: [kvm]
stage: build
- git config --global url."https://gitlab-ci-token:${CI_JOB_TOKEN}@${CI_SERVER_HOST}".insteadOf "git@${CI_SERVER_HOST}"
- git -C .. clone git@${CI_SERVER_HOST}
- make
......@@ -5,9 +5,8 @@ ssh_key
ssh-keygen -t ed25519 -f ssh_key -qN ""
http/user-data: http/user-data.template
sed "s#SSH_KEY#$(shell cat" http/user-data.template > http/user-data
sed "s#SSH_KEY#$(shell cat" ../common/user-data-template.yaml > http/user-data
image-host/image-host.qcow2: http/user-data
packer build -timestamp-ui image-host.json
......@@ -6,9 +6,9 @@
"disk_interface": "virtio",
"headless": true,
"http_directory": "http",
"iso_checksum": "8dfb356f65af191152a76b831ac6e6a8a1c343582ee03f4166acb5ccdc788a3f",
"iso_checksum": "93e7fae5dd69b3f3b5f5eba2301938630c45ae402ef93bde9a9fc72db27f8dd5",
"iso_checksum_type": "sha256",
"iso_url": "",
"iso_url": "",
"disk_image": true,
"shutdown_command": "rm -rf ~/.ssh/authorized_keys && sudo shutdown -P now",
"ssh_username": "debian",
set -ex
export DEBIAN_FRONTEND=noninteractive
echo " $(hostname)" | sudo tee -a /etc/hosts
sudo apt-get update
sudo apt-get full-upgrade -y
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment