Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate network config on first and subsequent boots #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cloudinit/sources/__init__.py
Original file line number Diff line number Diff line change
@@ -181,8 +181,8 @@ class DataSource(object):
# A datasource which supports writing network config on each system boot
# would call update_events['network'].add(EventType.BOOT).

# Default: generate network config on new instance id (first boot).
update_events = {'network': set([EventType.BOOT_NEW_INSTANCE])}
# Default: generate network config on first boot and subsequent boots.
update_events = {'network': set([EventType.BOOT_NEW_INSTANCE, EventType.BOOT])}

# N-tuple listing default values for any metadata-related class
# attributes cached on an instance by a process_data runs. These attribute