<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 10/14/2014 11:41 AM, Mridhul Pax wrote:<br>
<blockquote cite="mid:COL130-W6EBFC2947DD72F1864C77C0AD0@phx.gbl"
type="cite">
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style>
<div dir="ltr">I have downloaded a centos 7 image from the
following site and created a glance image. Im able to provison a
server via that image and the server booted up fine. Any one
know how to login to the server ?<br>
</div>
</blockquote>
<br>
It's reccomended to login to the instance through SSH (--key-name).<br>
Otherwise, it's possible to inject a cloud-config metadata file
through the nova switch --user-data ./my_file, in order to set a
password.<br>
my_file would look like (note that the first line is not a comment,
but it's required!):<br>
<br>
#cloud-config<br>
password: centos<br>
chpasswd: { expire: False }<br>
<br>
Here some cloud-config examples:<br>
<a class="moz-txt-link-freetext"
href="http://cloudinit.readthedocs.org/en/latest/topics/examples.html">http://cloudinit.readthedocs.org/en/latest/topics/examples.html</a><br>
<br>
Hope this helps.<br>
</body>
</html>