Displaying 2 results from an estimated 2 matches for "reconfigure_ssh_host_keys_debian".
2017 Aug 26
5
[PATCH 1/2] builder/templates/debian.preseed: enable serial console
...der/templates/make-template.ml b/builder/templates/make-template.ml
index 7b46bdacb..42ff48eb9 100755
--- a/builder/templates/make-template.ml
+++ b/builder/templates/make-template.ml
@@ -1027,14 +1027,8 @@ and notes_of_os os arch nvram =
add ""
| Debian ((8|9), _) ->
reconfigure_ssh_host_keys_debian ();
- fix_serial_console_debian ();
| Debian _ ->
add "This image is so very minimal that it only includes an ssh server";
- add "and no virtual consoles. To enable virtual consoles use this";
- add "virt-builder option:";
- add "...
2016 Nov 28
2
[PATCH] builder: Rearrange how template-building scripts work.
...nd further information is available from http://fedoraproject.org/"
+ | RHEL _ -> assert false (* cannot happen, see caller *)
+ | Ubuntu _ ->
+ add "This is a minimal Ubuntu install."
+ );
+ add "";
+
+ (* Specific notes for particular versions. *)
+ let reconfigure_ssh_host_keys_debian () =
+ add "This image does not contain SSH host keys. To regenerate them use:";
+ add "";
+ add " --firstboot-command \"dpkg-reconfigure openssh-server\"";
+ add "";
+ in
+ let fix_serial_console_debian () =
+ add "The ser...