acs-engine/packer/cleanup-vhd.sh

7 строки
199 B
Bash

#!/bin/bash -eux
## Cleanup packer SSH key and machine ID generated for this boot
rm -f /root/.ssh/authorized_keys
rm -f /home/packer/.ssh/authorized_keys
rm -f /etc/machine-id
touch /etc/machine-id