Skip to content

Commit

Permalink
cloud-init: update nixos support patch
Browse files Browse the repository at this point in the history
  • Loading branch information
illustris committed Dec 12, 2023
1 parent b968413 commit 039ec28
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py
index 7b83df8d..6d04de1a 100644
index 79e26235..bdc32c52 100644
--- a/cloudinit/distros/__init__.py
+++ b/cloudinit/distros/__init__.py
@@ -75,6 +75,7 @@ OSFAMILIES = {
@@ -91,6 +91,7 @@ OSFAMILIES = {
],
"openeuler": ["openeuler"],
"OpenCloudOS": ["OpenCloudOS", "TencentOS"],
Expand All @@ -12,7 +12,7 @@ index 7b83df8d..6d04de1a 100644
LOG = logging.getLogger(__name__)
diff --git a/cloudinit/distros/nixos.py b/cloudinit/distros/nixos.py
new file mode 100644
index 00000000..954e564b
index 00000000..67c049b8
--- /dev/null
+++ b/cloudinit/distros/nixos.py
@@ -0,0 +1,109 @@
Expand All @@ -38,11 +38,11 @@ index 00000000..954e564b
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+import logging
+import os
+
+from cloudinit import distros
+from cloudinit import helpers
+from cloudinit import log as logging
+from cloudinit import util
+from cloudinit import atomic_helper
+
Expand Down

0 comments on commit 039ec28

Please sign in to comment.