Commits

William Pitcock  committed 81365e7

debian: add configuration phase

  • Participants
  • Parent commits aa6ba96

Comments (0)

Files changed (1)

File appliancekit/specs/debian-base.spec

 		{"operation": "runcmd", "chroot": true, "command": ["apt-get", "-y", "--force-yes", "install", "{{ 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 %}
 	{"operation": "setenv", "key": "DEBIAN_FRONTEND", "value": null},
 	{% for command in possible_launch_cmds %}