Thomas Hipp
7a5aadf7c3
main: Support multiple instances
...
Resolves #65
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-15 11:11:29 +01:00
Thomas Hipp
8b89c32cc8
Merge pull request #69 from stgraber/master
...
New line handling and templating
2018-03-15 07:10:07 +01:00
Stéphane Graber
a3bc100a9f
Fix build with Go 1.6
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-15 01:56:49 -04:00
Stéphane Graber
c43c070130
Allow full templating in AptSources
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-15 00:14:15 -04:00
Stéphane Graber
cf9a51df82
More consistent new-line handling
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-14 21:26:50 -04:00
Stéphane Graber
cbba79e5e8
Merge pull request #68 from monstermunchkin/issues/32
...
*: Support yaml override on the command line
2018-03-14 18:00:01 -04:00
Thomas Hipp
13be123f2d
*: Support yaml override on the command line
...
Resolves #32
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-14 22:34:53 +01:00
Christian Brauner
b8d4fca5ed
Merge pull request #67 from stgraber/master
...
generator: Also prepend host entry on LXD
2018-03-14 19:56:08 +01:00
Christian Brauner
b1ac0e1951
Merge pull request #66 from stgraber/master
...
definition: Use kernel architecture name
2018-03-14 19:53:19 +01:00
Stéphane Graber
4985f88024
generator: Also prepend host entry on LXD
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-14 14:52:33 -04:00
Stéphane Graber
130054cb31
definition: Use kernel architecture name
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-14 14:49:55 -04:00
Christian Brauner
d1f0354c81
Merge pull request #64 from stgraber/master
...
definition: Fix default values for name and description
2018-03-14 19:26:33 +01:00
Stéphane Graber
929a2dffda
definition: Fix default values for name and description
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-14 14:18:02 -04:00
Stéphane Graber
3e7732227b
Merge pull request #63 from monstermunchkin/issues/template-map
...
Use yaml tags in pongo2 templates
2018-03-14 13:19:48 -04:00
Thomas Hipp
8de7423a02
Update README.md
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-14 17:20:53 +01:00
Thomas Hipp
68b16e9280
test: Fix weird looking template
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-14 17:19:22 +01:00
Thomas Hipp
1568ca472d
shared: Clean up tarball if tar fails
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-14 17:19:22 +01:00
Thomas Hipp
fab6321838
test: Verify LXC create-message
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-14 17:19:22 +01:00
Thomas Hipp
fc435ac345
definition: Rename arch to architecture (yaml)
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-14 17:19:22 +01:00
Thomas Hipp
a2c72417fc
*: Fix tests
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-14 17:19:21 +01:00
Thomas Hipp
405598076a
*: Use yaml tags in templates
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-14 17:19:21 +01:00
Stéphane Graber
a2ba735295
Merge pull request #59 from brauner/2018-03-14/useable_yaml_example
...
README: add useable yaml example
2018-03-14 12:05:42 -04:00
Christian Brauner
eccfcff9d0
README: add useable yaml example
...
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2018-03-14 16:23:55 +01:00
Christian Brauner
cd8206d8c0
Merge pull request #62 from monstermunchkin/master
...
Remove useless file meta.tar
2018-03-14 11:50:49 +01:00
Thomas Hipp
13024acd47
Remove useless file meta.tar
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-14 11:42:54 +01:00
Christian Brauner
740a6703a0
Merge pull request #61 from monstermunchkin/remove-rootfsdir
...
main: Remove rootfsDir variable
2018-03-14 10:58:13 +01:00
Thomas Hipp
c75fa7a778
main: Remove rootfsDir variable
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-14 10:45:56 +01:00
Christian Brauner
38ab1a138b
Merge pull request #58 from stgraber/master
...
upstart tty generator and various fixes
2018-03-14 00:00:14 +01:00
Stéphane Graber
6ac3777f96
image: Avoid trailing whiteline in excludes-user
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-13 18:07:20 -04:00
Stéphane Graber
d248b6782d
generators: Make more robust
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-13 18:07:13 -04:00
Stéphane Graber
cd307cdec4
chroot: Setup policy.rc.d to prevent daemon startup
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-13 16:55:27 -04:00
Stéphane Graber
b6cb7c9150
generators: Add upstart-tty generator
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-13 16:55:06 -04:00
Christian Brauner
8af828fd71
Merge pull request #57 from stgraber/master
...
Fix file templating
2018-03-13 20:49:32 +01:00
Stéphane Graber
1a277a93ee
shared: Allow chaining templates
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-13 15:05:45 -04:00
Stéphane Graber
163eb1a61a
definition: Fix date format
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-13 14:38:46 -04:00
Stéphane Graber
5f5f48a40f
definition: Make the serial a first class variable
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-13 14:36:35 -04:00
Stéphane Graber
5a7b54d188
definition: Set default templates
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-13 14:06:18 -04:00
Stéphane Graber
617f4d4e5f
definition: Add missing comment
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-13 14:04:13 -04:00
Stéphane Graber
6da67fa574
Add serial to LXD metadata
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-13 14:03:35 -04:00
Christian Brauner
80ce479716
Merge pull request #56 from stgraber/master
...
Improve /etc/hosts generator
2018-03-13 18:43:33 +01:00
Stéphane Graber
e20b1fbe19
Set variant as LXD image property
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-13 13:23:55 -04:00
Stéphane Graber
32dc1ab397
Rename Arch to Architecture
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-13 13:00:22 -04:00
Stéphane Graber
b233e6a315
Improve /etc/hosts generator
...
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
2018-03-13 12:39:10 -04:00
Stéphane Graber
4c88af9424
Merge pull request #55 from monstermunchkin/issues/validation
...
validate definition
2018-03-09 21:06:20 +01:00
Thomas Hipp
a9a483f7a2
definition: Validate architecture mappings
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-09 15:16:00 +01:00
Thomas Hipp
65bfe89604
definition: Validate generators
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-09 15:06:01 +01:00
Stéphane Graber
25b83c8029
Merge pull request #54 from monstermunchkin/issues/rootfs
...
lxc: Remove "rootfs" prefix in tarball
2018-03-09 15:04:12 +01:00
Thomas Hipp
16fa3b28dc
lxc: Remove "rootfs" prefix in tarball
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-09 14:53:42 +01:00
Christian Brauner
279c1b5350
Merge pull request #53 from monstermunchkin/master
...
*: Fix minor issues
2018-03-09 10:43:07 +01:00
Thomas Hipp
9674157c83
test: Fix test
...
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-09 10:36:27 +01:00