Skip to content

Instantly share code, notes, and snippets.

@terriyu
Created August 10, 2013 19:44
Show Gist options
  • Select an option

  • Save terriyu/6201870 to your computer and use it in GitHub Desktop.

Select an option

Save terriyu/6201870 to your computer and use it in GitHub Desktop.
Ran curl on my Vagrant VM to see if the OpenStack dashboard is running.
$ curl http://localhost/
<!DOCTYPE html>
<html lang="en" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Login - OpenStack Dashboard</title>
<link rel="stylesheet" href="/static/dashboard/css/514b40d0d2b2.css" type="text/css" media="screen" />
<link rel="shortcut icon" href="/static/dashboard/img/favicon.ico"/>
</head>
<body id="splash">
<div class="container">
<div class="row large-rounded">
<div id="" class="login ">
<div class="modal-header">
<h3>Log In</h3>
</div>
<form id="" autocomplete="on" class="" action="/auth/login/" method="POST" ><input type='hidden' name='csrfmiddlewaretoken' value='S3xfLP3JzZO4ANuE1T4KYeIzd41SSmiA' />
<div class="modal-body clearfix">
<fieldset>
<input id="id_region" name="region" type="hidden" value="http://127.0.0.1:5000/v2.0" />
<input id="id_tenant" name="tenant" type="hidden" />
<div class="control-group form-field clearfix">
<label for="id_username">User Name</label>
<span class="help-block"></span>
<div class="input">
<input id="id_username" name="username" type="text" />
</div>
</div>
<div class="control-group form-field clearfix">
<label for="id_password">Password</label>
<span class="help-block"></span>
<div class="input">
<input id="id_password" name="password" type="password" />
</div>
</div>
</fieldset>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-primary pull-right">Sign In</button>
</div>
</form>
</div>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment