Compare commits

..

2 Commits

Author SHA1 Message Date
ccb8c73ed4 test
Some checks failed
continuous-integration/drone/push Build is failing
2023-10-17 00:41:23 -04:00
f0dd368d0c test 2023-10-17 00:41:18 -04:00
2 changed files with 7 additions and 16 deletions

View File

@ -7,13 +7,13 @@ TEMPLATES = {
"distro_releases": ["3.17", "3.18", "edge"],
"image": "cr.smcm.xyz/coder-images/alpine",
},
"aports": {
"distro_name": "Alpine Linux",
"distro_shortname": "alpine",
"distro_package_manager": "apk",
"distro_releases": ["edge"],
"image": "cr.smcm.xyz/coder-images/alpine",
},
# "aports": {
# "distro_name": "Alpine Linux",
# "distro_shortname": "alpine",
# "distro_package_manager": "apk",
# "distro_releases": ["edge"],
# "image": "cr.smcm.xyz/coder-images/alpine",
# },
"ubuntu": {
"distro_name": "Ubuntu Linux",
"distro_shortname": "ubuntu",

View File

@ -27,15 +27,6 @@ data "coder_parameter" "distro_release" {
image = "{{image}}${data.coder_parameter.distro_release.value}:latest"
{% endblock %}
{% block post_startup_script_setup_home %}
{% if feature_flags is defined %}
{% for feature_flag in feature_flags %}
{% set template = distro_shortname + "/" + feature_flag + ".tf.jinja" %}
{% inlcude template %}
{% endfor %}
{% endif %}
{% endblock %}
{% block startup_script_install_packages %}
{% if distro_package_manager == "apt" %}
sudo apt update