tripleo-puppet-elements/elements/remove-machine-id/post-install.d/70-remove-machine-id

11 lines
289 B
Bash
Executable File

#!/bin/bash
set -eu
set -o pipefail
# In order to make sure not all nodes have the same machine id, we need to
# clear it from the image and it should be generated on boot. LP#1672461
# It should be noted that if this file doesn't exist, odd interactions may
# occur.
:> /etc/machine-id