ec2/fedora-18-i386-ec2.ks   |    4 ----
 ec2/fedora-18-x86_64-ec2.ks |    4 ----
 2 files changed, 8 deletions(-)

New commits:
commit c64543068369e85dfe13a1f0d1b37fe259a20f07
Author: Matthew Miller <mat...@fedoraproject.org>
Date:   Thu Oct 11 16:16:09 2012 -0400

    creation of ec2-user (and sudo config) is done in new version of cloud-init
    
    F18 has version 0.7 of cloud-init which creates the ec2-user (and can use a 
different name given at boot time).

diff --git a/ec2/fedora-18-i386-ec2.ks b/ec2/fedora-18-i386-ec2.ks
index a577c35..72393a6 100644
--- a/ec2/fedora-18-i386-ec2.ks
+++ b/ec2/fedora-18-i386-ec2.ks
@@ -40,10 +40,6 @@ cloud-init
 # more ec2-ify
 %post --erroronfail
 
-# create ec2-user
-/usr/sbin/useradd ec2-user
-/bin/echo -e 'ec2-user\tALL=(ALL)\tNOPASSWD: ALL' >> /etc/sudoers
-
 # fstab mounting is different for x86_64 and i386
 cat <<EOL > /etc/fstab
 LABEL=_/   /         ext4    defaults        1 1
diff --git a/ec2/fedora-18-x86_64-ec2.ks b/ec2/fedora-18-x86_64-ec2.ks
index 39e9ecd..1ef55f9 100644
--- a/ec2/fedora-18-x86_64-ec2.ks
+++ b/ec2/fedora-18-x86_64-ec2.ks
@@ -40,10 +40,6 @@ cloud-init
 # more ec2-ify
 %post --erroronfail
 
-# create ec2-user
-/usr/sbin/useradd ec2-user
-/bin/echo -e 'ec2-user\tALL=(ALL)\tNOPASSWD: ALL' >> /etc/sudoers
-
 # fstab mounting is different for x86_64 and i386
 cat <<EOL > /etc/fstab
 LABEL=_/   /         ext4    defaults        1 1


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

Reply via email to