Carlos Meza
1ec736038c
pylint E1608(old-octal-literal)
2018-04-09 22:27:43 -07:00
Carlos Meza
43e54d26cc
pylint E1601(print-statement)
2018-04-09 22:27:29 -07:00
Carlos Meza
4e1a5922f7
pylint W0621(redefined-outer-name)
2018-02-25 10:27:53 +00:00
Carlos Meza
b180f66ef0
pylint E1101(no-member)
2018-02-25 09:34:12 +00:00
Carlos Meza
05abccda0b
pylint R1704(redefined-argument-from-local)
2018-02-25 08:37:24 +00:00
Carlos Meza
ce42d889cd
pylint W0406(import-self)
2018-02-25 08:37:24 +00:00
Carlos Meza
d86f9e94b5
pylint W0404(reimported)
2018-02-25 08:37:24 +00:00
Carlos Meza
6e183914ac
fix pylint W0403(relative-import)
2018-02-25 04:12:24 +00:00
Carlos Meza
c068ba07ab
pylint len-as-condition
2018-02-19 00:31:12 -08:00
Carlos Meza
98975cac7b
pylint unidiomatic-typecheck
2018-02-19 00:31:12 -08:00
Carlos Meza
b47b55172b
pylint import-error bug workaround for distutils
2018-02-19 00:30:20 -08:00
Anders Ingemann
febb7e8a1d
Merge pull request #458 from CMeza99/mobify
...
Add Docker specific settings
2018-02-14 07:28:10 +01:00
Carlos Meza
c19eb61bbf
add docker specific settings
2018-02-14 03:53:33 +00:00
Carlos Meza
873ac802e9
use upstream json_minify
2018-02-11 08:29:18 +00:00
Anders Ingemann
803ec8e987
Merge pull request #450 from CMeza99/bootstraper_gpg
...
Expose gpg flags for debootstrap
2018-02-10 23:11:40 +01:00
Carlos Meza
d2e00a8173
remove init.d file for squeeze
2018-02-10 03:27:59 +00:00
Carlos Meza
5727550ad4
expose gpg flags for debootstrap
2018-02-09 22:19:59 +00:00
Anders Ingemann
1d755abfc6
Merge pull request #449 from CMeza99/remove_eol
...
Remove squeeze support
2018-02-08 09:45:19 +01:00
Carlos Meza
a3584e6de9
remove squeeze support
2018-02-08 06:02:20 +00:00
Anders Ingemann
6b99432ac7
Merge pull request #445 from vmlintu-nosto/mountpoint_permissions
...
Allow setting permissions on mountpoints
2018-02-08 00:06:14 +01:00
Veli-Matti Lintu
a0007b48a9
Add new attribute 'mode' for partitions to set the permissions of the
...
mountpoints. Without this having /tmp on separate partition results
in error as the permissions of /tmp are 0755. Setting them to 01777
fixes the setup.
2018-02-06 15:56:24 +02:00
Marcin Engelmann
8e92cf7db9
Add comment-header to files deployed by bootstrap-vz ( resolves #429 )
2018-01-20 18:18:56 +01:00
Anders Ingemann
f00c63eaeb
Merge pull request #435 from octivi/grub_console
...
Minor changes to GRUB configuration regarding console and serial console
2018-01-18 22:12:41 +01:00
Marcin Engelmann
fb31ae3c70
Minor changes to GRUB configuration regarding console and serial console
2018-01-18 14:13:51 +01:00
Marcin Engelmann
c3739b875b
Removed generate-ssh-hostkeys stub-script left for backward compatibility
2018-01-18 09:48:13 +01:00
Marcin Engelmann
d640311ab6
Refactorized generation of OpenSSH host keys with a new systemd unit.
2018-01-17 20:46:11 +01:00
Anders Ingemann
fe0f8eba5b
Merge pull request #426 from octivi/remove_ssh_host_ed25519_key
...
Remove ED25519 ssh host key pair from image
2018-01-14 17:22:06 +01:00
Marcin Engelmann
e8edec7be1
Remove ED25519 ssh host key pair from image ( resolves #425 , workaround for #432 )
2018-01-14 14:54:34 +01:00
Marcin Engelmann
6bb167f361
Clear the machine ID for jessie and newer releases (systemd) ( resolves #427 )
2018-01-14 14:27:20 +01:00
Alex Hegedus
c0350e7c8a
Added security field to packages.
2017-11-27 18:48:57 -08:00
Carlos Meza
5824d0775e
allow networking task when netbase pkg is present
2017-11-22 20:28:01 -08:00
Zach Marano
79a1aa1616
Add GCE buster builds.
2017-08-30 17:50:27 -07:00
Anders Ingemann
19e15d15bf
Partitions: Fix check for additional partitions on single part.
2017-08-20 10:37:28 +02:00
Anders Ingemann
85a0e6a191
Make trusted-keys paths in manifest relative to manifest
2017-07-14 18:25:07 +02:00
Anders Ingemann
58c682818c
Merge pull request #382 from Exy13/existing_commands
...
Fix unfailing CheckExternalCommands
2017-07-02 19:55:05 +02:00
Brendan Harley
acb17a98d0
Add executable check to find_executable
...
Find_executable returns a file in the path, so it must be checked for
executability.
2017-07-02 17:16:25 +02:00
Zach Marano
7066efe9d1
Add buster as testing and promote stretch to stable, jessie to oldstable. Stretch release to stable is June 17.
2017-06-16 12:31:58 -07:00
Brendan Harley
cc69173e52
Add qcow2 as a disk backend for KVM
...
This allows to build an image with qcow2 as a disk backend.
The update implements a new class that inherits from QEMUVolume and just
needs the extention and file format.
2017-06-16 15:54:51 +02:00
Anders Ingemann
3e5c94f0d4
Merge pull request #381 from Exy13/lvm
...
Add LVM as a disk backend
2017-06-08 21:55:34 +02:00
Brendan Harley
511a44f72e
Add LVM as a disk backend
...
Enables the use of Logical Volumes as disk backends.
It uses an existing volume group and has no support for creating a new one.
It will not override an existing logical volume and fail gracefully.
The lv is created, activated and then mounted as a loop device.
The boostraping process is then launched on the loop device.
Once the process is completed, the lv is unmounted and desactivated.
The created lv will be deleted should the boostraping process fail.
The lv must be activated before use.
A manifest has been included for testing purposes.
2017-06-08 17:05:48 +02:00
Brendan Harley
df3a200df3
Fix unfailing CheckExternalCommands
...
On Unix, with shell=True, the shell default to /bin/sh.
Using Popen(['type', command], shell=True) is equivalent to calling
Popen(['/bin/sh', '-c', 'type', command]).
In this case 'command' becomes a positional parameter to the shell,
and not an argument to the command 'type'.
The solution is to pass a single string as parameter.
The problem is that with shell=True, we are never safe from a shell injection,
so it is wiser to use a python only solution.
The package distutils is part of the standard distribution, so it doesn't add
extra dependencies.
The method find_executable has the same behaviour as 'which' on bash.
2017-05-31 22:28:04 +02:00
Brendan Harley
a901963200
Fix loopdevice partitions not being unmapped correctly
2017-05-14 21:24:28 +02:00
Anders Ingemann
a40c639c3c
Move some package adding tasks into the preparation phase
2017-04-15 10:01:27 +02:00
Zach Marano
96ebfe11fa
Fix bug in Stretch builds. sshd_config no longer contains
...
PermitRootLogin. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852781
2017-03-28 20:24:41 +02:00
Anders Ingemann
a4e4ad9954
Merge pull request #355 from n3ph/master
...
Add mountopts and enable definition of additional partitions
2017-02-13 23:16:08 +01:00
Michael Gerlach
4eb90a544e
type is never going to be a partition
2017-02-04 16:15:24 +01:00
Stefan
64e1020e6d
fix pep8
2017-02-01 20:16:23 +01:00
Michael Gerlach
5a4719c236
remove semicolons.. :-/
2017-02-01 18:38:37 +01:00
Michael Gerlach
ff4918f1e0
sort out UnformattedPartitions nicer
2017-01-31 21:45:40 +01:00
Zach Marano
84f258e748
Fixes to create stretch images. Add stretch manifest for GCE.
2017-01-10 13:30:31 -08:00