mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-10-21 11:29:15 +00:00
seedling: Make sure to remove generated keys during setup (#1027)
Signed-off-by: mudler <mudler@c3os.io>
This commit is contained in:
committed by
Itxaka
parent
ae917ce581
commit
5419e568cc
@@ -325,6 +325,8 @@ docker:
|
|||||||
|
|
||||||
RUN rm -rf /etc/machine-id && touch /etc/machine-id && chmod 444 /etc/machine-id
|
RUN rm -rf /etc/machine-id && touch /etc/machine-id && chmod 444 /etc/machine-id
|
||||||
|
|
||||||
|
# Avoid to accidentally push keys generated by package managers
|
||||||
|
RUN rm -rf /etc/ssh/ssh_host_*
|
||||||
|
|
||||||
# Enable services
|
# Enable services
|
||||||
IF [ -f /sbin/openrc ]
|
IF [ -f /sbin/openrc ]
|
||||||
|
Reference in New Issue
Block a user