KVM host image creator.
Revisão | 15be04fdfd41c392e45461558347b91504a915d2 (tree) |
---|---|
Hora | 2020-12-31 13:30:31 |
Autor | Tatsuki SUGIURA <sugi@osdn...> |
Commiter | Tatsuki SUGIURA |
Keep ssh key.
@@ -153,6 +153,7 @@ class ImageCreator | ||
153 | 153 | end |
154 | 154 | |
155 | 155 | File.write "#{dir}/etc/cloud/cloud.cfg.d/50_keep_apt_source.cfg", "apt_preserve_sources_list: true\n" |
156 | + File.write "#{dir}/etc/cloud/cloud.cfg.d/50_keep_ssh_key.cfg", "ssh_deletekeys: false\n" | |
156 | 157 | end |
157 | 158 | end |
158 | 159 |