This commit is contained in:
parent
7b8dc4662d
commit
5a62cfec2e
@ -39,6 +39,12 @@ data "coder_parameter" "alpine_release" {
|
|||||||
|
|
||||||
{% block post_startup_script_setup_home %}
|
{% block post_startup_script_setup_home %}
|
||||||
{% if feature_flags.get("aports") %}
|
{% if feature_flags.get("aports") %}
|
||||||
|
# Ensure host key verification passes
|
||||||
|
if [ ! -f .ssh/known_hosts ]; then
|
||||||
|
mkdir -p .ssh
|
||||||
|
ssh-keyscan gitlab.alpinelinux.org > .ssh/known_hosts
|
||||||
|
fi
|
||||||
|
|
||||||
# Clone the aports repository
|
# Clone the aports repository
|
||||||
if [ ! -d aports/.git ]; then
|
if [ ! -d aports/.git ]; then
|
||||||
git clone git@gitlab.alpinelinux.org:alpine/aports.git
|
git clone git@gitlab.alpinelinux.org:alpine/aports.git
|
||||||
|
|||||||
Reference in New Issue
Block a user