[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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

Attachment: signature.asc
Description: This is a digitally signed message part.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]