Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:as_python3_module
cloud-init.22314
cloud-init-no-tempnet-oci.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cloud-init-no-tempnet-oci.patch of Package cloud-init.22314
--- cloudinit/sources/DataSourceOracle.py.orig +++ cloudinit/sources/DataSourceOracle.py @@ -133,8 +133,11 @@ class DataSourceOracle(sources.DataSourc BUILTIN_DS_CONFIG["configure_secondary_nics"] ) network_context = noop() - if not _is_iscsi_root(): - network_context = dhcp.EphemeralDHCPv4(net.find_fallback_nic()) + # SUSE images are built with iSCSI setup. The detection of the + # configured network for iscsi boot is distribution dependent. + # There's no implementation for openSUSE/SLE yet. + #if not _is_iscsi_root(): + # network_context = dhcp.EphemeralDHCPv4(net.find_fallback_nic()) with network_context: fetched_metadata = read_opc_metadata( fetch_vnics_data=fetch_vnics_data --- cloudinit/sources/tests/test_oracle.py.orig +++ cloudinit/sources/tests/test_oracle.py @@ -666,6 +666,7 @@ class TestNonIscsiRoot_GetDataBehaviour: def test_read_opc_metadata_called_with_ephemeral_dhcp( self, m_find_fallback_nic, m_EphemeralDHCPv4, oracle_ds ): + return in_context_manager = False def enter_context_manager():
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor