summaryrefslogtreecommitdiff
path: root/ec2-set-defaults.py
diff options
context:
space:
mode:
authorSoren Hansen <soren@canonical.com>2009-08-10 22:12:01 +0200
committerSoren Hansen <soren@canonical.com>2009-08-10 22:12:01 +0200
commit1999a6e534fe7aa19e7fbe40b6f4c0b48612e47d (patch)
tree651655890e231ee981db677f322575beab976e9d /ec2-set-defaults.py
parente1af54175e94f4fee2ccaae3cda98d6ccbca1981 (diff)
downloadvyos-cloud-init-1999a6e534fe7aa19e7fbe40b6f4c0b48612e47d.tar.gz
vyos-cloud-init-1999a6e534fe7aa19e7fbe40b6f4c0b48612e47d.zip
run_once_per_ami() and run_once_per_instance() are equivalent, so nuke run_once_per_instance().
There are three cases: You want to run the script every time. In that case, simply do not wrap it. You want to rerun the script every time the AMI has been rebundled. Wrap it in run_once_per_ami. You want to run the script only once, ever. Wrap it in run_once_ever. If I'm missing a case, please tell me.
Diffstat (limited to 'ec2-set-defaults.py')
0 files changed, 0 insertions, 0 deletions