network should be optionally reconfigured on every boot
Bug #1765801 reported by
Mike Gerdts
on 2018-04-20
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| cloud-init |
Undecided
|
Mike Gerdts |
Bug Description
LP#1571004 made it so that networking is applied on the first boot of an instance. This makes sense in some cases, but not in others. In the case of Joyent's cloud, there is a need to support network reconfiguration on reboot.
The proposed approach is to add a new metadata key 'maintain_network'. This will default to False. When set to True, network settings will be applied PER_ALWAYS. SmartOS will begin to support the sdc:maintain_
The SmartOS change is being tracked at https:/
Related branches
~mgerdts/cloud-init:lp1765801.1
- Server Team CI bot: Approve (continuous-integration) on 2019-10-31
- Ryan Harper: Approve on 2019-10-31
-
Diff: 70 lines (+15/-2)2 files modifiedcloudinit/sources/DataSourceSmartOS.py (+7/-1)
tests/unittests/test_datasource/test_smartos.py (+8/-1)
~mgerdts/cloud-init:lp1765801
- Ryan Harper: Pending requested 2019-10-31
- Chad Smith: Pending requested 2019-10-31
-
Diff: 86 lines (+15/-6)3 files modifiedcloudinit/sources/DataSourceSmartOS.py (+7/-1)
cloudinit/sources/tests/test_init.py (+0/-4)
tests/unittests/test_datasource/test_smartos.py (+8/-1)
~mgerdts/cloud-init:lp1765801
- Ryan Harper: Needs Fixing on 2019-10-31
- Chad Smith: Pending requested 2019-09-25
-
Diff: 86 lines (+15/-6)3 files modifiedcloudinit/sources/DataSourceSmartOS.py (+7/-1)
cloudinit/sources/tests/test_init.py (+0/-4)
tests/unittests/test_datasource/test_smartos.py (+8/-1)
~mgerdts/cloud-init:lp1765801
- Chad Smith: Pending requested 2018-07-20
-
Diff: 90 lines (+19/-6)3 files modifiedcloudinit/sources/DataSourceSmartOS.py (+11/-1)
cloudinit/sources/tests/test_init.py (+0/-4)
tests/unittests/test_datasource/test_smartos.py (+8/-1)
Mike Gerdts (mgerdts)
on 2018-04-20
Changed in cloud-init: | |
assignee: | nobody → Mike Gerdts (mgerdts) |
status: | New → Confirmed |
Dan Watkins (daniel-thewatkins)
on 2019-09-26
Changed in cloud-init: | |
status: | Confirmed → In Progress |
Changed in cloud-init: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This bug is fixed with commit e8138959 to cloud-init on branch master. /git.launchpad. net/cloud- init/commit/ ?id=e8138959
To view that commit see the following URL:
https:/