Commits

William Pitcock committed aa6ba96

specfiles: add configuration steps for alpine

  • Participants
  • Parent commits da10da9

Comments (0)

Files changed (2)

appliancekit/specs/alpine-base.spec

 		{"operation": "runcmd", "chroot": true, "command": ["apk", "add", "--force", "--allow-untrusted", "{{ package }}"]},
 	{% endfor %}
 {% endblock %}
+{% block configure %}
+	{{ super() }}
+	{"operation": "render_template", "template": "debian/interfaces.tmpl", "target": "/etc/network/interfaces"},
+	{"operation": "render_template", "template": "debian/hostname.tmpl", "target": "/etc/hostname"},
+{% endblock %}
 {% block cleanup %}
 {% endblock %}

appliancekit/specs/base.spec

 
 {% if 'configure' in phases %}
 {% block configure %}
+	{"operation": "render_template", "template": "base/fstab.tmpl", "target": "/etc/fstab"},
 {% endblock %}
 {% endif %}