generic/fedora-18-x86_64-cloud.ks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 generic/fedora-18-x86_64-cloud.ks |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

New commits:
commit c506093cac633a5e6711feaf4be7f966f8d75f9b
Author: Matthew Miller <mattdm@xxxxxxxxxx>
Date:   Fri Dec 14 15:49:39 2012 -0500

    Add commented-out block toggling to root instead of ec2-user in case
    we want to go that way.

diff --git a/generic/fedora-18-x86_64-cloud.ks b/generic/fedora-18-x86_64-cloud.ks
index 86ff68e..9d0d51c 100644
--- a/generic/fedora-18-x86_64-cloud.ks
+++ b/generic/fedora-18-x86_64-cloud.ks
@@ -136,9 +136,14 @@ echo .
 echo "Disabling tmpfs for /tmp."
 systemctl mask tmp.mount
 
-# this is a kludge for an unexpected change in cloud-init. New
-# fedora package coming soon will make this unnecessary.
-sed -i '/system_info:/ a\  default_user: ec2-user' /etc/cloud/cloud.cfg
+# Uncomment this if you want to use cloud init but suppress the creation
+# of an "ec2-user" account. This will, in the absence of further config,
+# cause the ssh key from a metadata source to be put in the root account.
+#cat <<EOF > /etc/cloud/cloud.cfg.d/50_suppress_ec2-user_use_root.cfg
+#users: []
+#disable_root: 0
+#EOF
+
 
 
 echo "Zeroing out empty space."


_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud



[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux