362 Commits

Author SHA1 Message Date
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
Thomas Hipp
4a3902cf0f
*: Fix minor issues
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-09 10:30:28 +01:00
Stéphane Graber
75083d7ab7
Merge pull request #52 from monstermunchkin/master
debootstrap: Fix GPG dir removal
2018-03-09 09:18:08 +01:00
Thomas Hipp
e317214c48
debootstrap: Fix GPG dir removal
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-09 09:09:22 +01:00
Stéphane Graber
9419b19fbe
Merge pull request #51 from monstermunchkin/files
generators: Extend generators by Run() command
2018-03-08 17:16:19 +01:00
Thomas Hipp
7ad2f482cd
generators: Simplify code
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-08 17:13:25 +01:00
Thomas Hipp
d4c62c74ac
generators: Extend generators by Run() command
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-08 17:04:47 +01:00
Stéphane Graber
f7cbbc9f1d
Merge pull request #50 from monstermunchkin/master
definition: Remove default for source.Variant
2018-03-08 16:21:34 +01:00
Thomas Hipp
5183b20b78
definition: Remove default for source.Variant
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-08 16:19:20 +01:00
Stéphane Graber
b1b53d058f
Merge pull request #48 from monstermunchkin/actions
make actions more flexible
2018-03-08 16:08:35 +01:00
Stéphane Graber
b40ce12a68
Merge pull request #49 from monstermunchkin/master
Update README.md
2018-03-08 16:07:54 +01:00
Thomas Hipp
4244c14dc0
Update README.md
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-08 15:54:18 +01:00
Thomas Hipp
03fd590d2c
main: Use list of actions
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-08 15:51:01 +01:00
Thomas Hipp
f4d8b692ff
main: Make actions more flexible
Resolves #44

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-08 14:55:41 +01:00
Thomas Hipp
78262d4dde
main: Run all post actions inside chroot
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-08 14:34:25 +01:00
Stéphane Graber
1994fa00e1
Merge pull request #47 from monstermunchkin/master
shared,chroot: Set environment variables
2018-03-08 11:37:17 +01:00
Thomas Hipp
913d0aaa69
shared,chroot: Set environment variables
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-08 11:30:42 +01:00
Stéphane Graber
e3724965c8
Merge pull request #45 from monstermunchkin/issues/43
sources: Require GPG keys for HTTP downloads
2018-03-08 09:44:04 +01:00
Stéphane Graber
5eeb8a9aca
Merge pull request #46 from monstermunchkin/master
shared: Set default variant
2018-03-08 09:43:11 +01:00
Thomas Hipp
beaf55f0db
shared: Set default variant
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-08 09:42:14 +01:00
Thomas Hipp
c42f1e7e1b
sources: Require GPG keys for HTTP downloads
Resolves #43

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-08 09:27:35 +01:00
Stéphane Graber
c9510554e4
Merge pull request #42 from monstermunchkin/actions
distrobuilder: Add actions
2018-03-07 22:44:01 +01:00
Thomas Hipp
b76ca478bb
distrobuilder: Use pipe for running scripts
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2018-03-07 18:43:10 +01:00
Stéphane Graber
866753078c
Merge pull request #40 from monstermunchkin/issues/38
Add more generators
2018-03-07 18:21:04 +01:00
Stéphane Graber
5b257da159
Merge pull request #41 from monstermunchkin/debootstrap
shared: Make debootstrap noninteractive
2018-03-07 18:17:13 +01:00