Am Mon, 16 Apr 2018 18:34:07 +0200
schrieb "[ext] Jan Kiszka" <jan.kis...@siemens.com>:

> This switches to the Isar version replacing multistrap with
> debootstrap. As the isar-base-image no longer sets the host name, we
> need to do this now.
> 
> Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>
> ---
>  kas.yml                                    | 2 +-
>  recipes-core/customizations/files/postinst | 2 ++
>  2 files changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/kas.yml b/kas.yml
> index 634f837..ef0f72b 100644
> --- a/kas.yml
> +++ b/kas.yml
> @@ -19,7 +19,7 @@ repos:
>  
>    isar:
>      url: https://github.com/ilbers/isar
> -    refspec: 5d15bb11f30c6f581c6d8d4065f359301bb1135a
> +    refspec: b054fd21128c45239cf5fa5d0e5808787205264d
>      layers:
>        meta:
>        meta-isar:
> diff --git a/recipes-core/customizations/files/postinst
> b/recipes-core/customizations/files/postinst index a10628c..911443f
> 100644 --- a/recipes-core/customizations/files/postinst
> +++ b/recipes-core/customizations/files/postinst
> @@ -2,3 +2,5 @@
>  echo "Jailhouse Demo Image (login: root/root)" > /etc/issue
>  
>  echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
> +
> +echo "demo" > /etc/hostname

Note that recent Isar will also "leak" /etc/resolv.conf from the
build-host. Remove it or write it to reach a defined state.

Henning

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jailhouse-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to