Re: user id and password

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

 



On 11/14/2014 03:53 AM, Matthew Miller wrote:
> On Thu, Nov 13, 2014 at 04:54:30PM -0800, Brian Afshar wrote:
>> I downloaded the OpenStack Fedora 20 and the username is supposed to be
>> fedora; however, no password has been assiged to this username.  Does
>> anyone now what the username and password is to
>> "Fedora-x86_64-20-20140407-sda.qcow2"?
> 
> There's no username. It's intended to boot in a cloud environment like
> Amazon EC2 or OpenStack, where there is a metadata service which
> provides an ssh public key. 
> 
> To test in a VM, you can either set a password locally (using guestfish
> or virt-customize from libguestfs-tools), or you can run a little
> metadata service locally.
> 

If you want to test it locally your best bet is libguestfs, as Matthew
pointed out.

To change the root password [0]:

virt-sysprep --root-password password:1234 -a
Fedora-x86_64-20-20140407-sda.qcow2

To disable cloud init services [1]:

guestfish -a Fedora-x86_64-20-20140407-sda.qcow2 -i ln-sf /dev/null
/etc/systemd/system/cloud-init.service


[0]
http://rwmj.wordpress.com/2013/08/02/new-in-virt-sysprep-set-root-and-user-passwords/
[1]
http://rwmj.wordpress.com/2013/12/10/masking-systemd-services-in-a-guest/

-- 
FAS : axilleas
GPG : 0x3A7DDABC985EDC6E
Blog: http://axilleas.me
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure





[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux