[Libguestfs] [PATCH 1/2] builder/templates/debian.preseed: enable serial console

Pino Toscano ptoscano at redhat.com
Tue Aug 29 12:13:47 UTC 2017


On Sunday, 27 August 2017 01:21:38 CEST Florian Klink wrote:
> Also unify .index-fragment files
> ---
>  builder/templates/debian-7.index-fragment |  7 -------
>  builder/templates/debian-8.index-fragment |  7 -------
>  builder/templates/debian-9.index-fragment | 18 ++++++------------

Note that changes to the fragment files will be lost with the next
update of the images.  In particular ...

> diff --git a/builder/templates/debian-9.index-fragment b/builder/templates/debian-9.index-fragment
> index 293f9117f..5eb7146bc 100644
> --- a/builder/templates/debian-9.index-fragment
> +++ b/builder/templates/debian-9.index-fragment
> @@ -10,20 +10,14 @@ compressed_size=203644432
>  expand=/dev/sda1
>  notes=Debian 9 (stretch)
>   
> - This is a minimal Debian install.
> + This is a default Debian install.
> 
> - This image is so very minimal that it only includes an ssh server
> - and no virtual consoles.  To enable virtual consoles use this
> - virt-builder option:
> + The preseed and virt-install scripts that produced this image
> + can be found in the libguestfs source tree:
>   
> -     --edit '/etc/inittab: s,^#([1-9].*respawn.*/sbin/getty.*),$1,'
> + builder/website/debian.preseed
> + builder/website/debian.sh
>   
>   This image does not contain SSH host keys.  To regenerate them use:
>   
> -     --firstboot-command "dpkg-reconfigure openssh-server"
> - 
> - This template was generated by a script in the libguestfs source tree:
> -     builder/templates/make-template.ml
> - Associated files used to prepare this template can be found in the
> - same directory.
> -
> + --firstboot-command "dpkg-reconfigure openssh-server"

... these changes will be reverted back by updating this template.

-- 
Pino Toscano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20170829/3cde3fb6/attachment.sig>


More information about the Libguestfs mailing list