From 6802141718a13832349061447a777caf9131d5a3f326635e2550510738d4d8d9 Mon Sep 17 00:00:00 2001 From: Bernhard Wiedemann Date: Thu, 28 Jun 2018 13:35:10 +0000 Subject: [PATCH] - do not disable root user to make it easier to work with OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=115 --- cloud-init.changes | 1 + cloud-init.spec | 1 + 2 files changed, 2 insertions(+) diff --git a/cloud-init.changes b/cloud-init.changes index 7df6b1a..a335194 100644 --- a/cloud-init.changes +++ b/cloud-init.changes @@ -2,6 +2,7 @@ Wed Jun 27 15:42:34 UTC 2018 - bwiedemann@suse.com - Let distribution default to opensuse/sles (boo#1099340) +- do not disable root user to make it easier to work with ------------------------------------------------------------------- Tue May 22 18:12:43 UTC 2018 - rjschwei@suse.com diff --git a/cloud-init.spec b/cloud-init.spec index c028cf6..cec5f70 100644 --- a/cloud-init.spec +++ b/cloud-init.spec @@ -245,6 +245,7 @@ mkdir -p %{buildroot}%{_defaultdocdir} mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{docdir} # copy the LICENSE cp LICENSE %{buildroot}%{docdir} +sed -i -e 's,disable_root: .*,disable_root: false,' %{buildroot}/%{_sysconfdir}/cloud/cloud.cfg # Set the distribution indicator %if 0%{?suse_version} sed -i s/ubuntu/suse/ %{buildroot}/%{_sysconfdir}/cloud/cloud.cfg