diff --git a/README.md b/README.md index 8ec15f5..cd5c4e5 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ * User can add SSH public key to root in Instance (Tested only Ubuntu) * User can change root password in Instance (Tested only Ubuntu) +* Supports cloud-init datasource interface ### Warning!!! @@ -201,7 +202,7 @@ webvirtcloud RUNNING pid 24185, uptime 2:59:14 #### Apache mod_wsgi configuration ``` WSGIDaemonProcess webvirtcloud threads=2 maximum-requests=1000 display-name=webvirtcloud -WSGIScriptAlias / /srv/webvirtcloud/webvirtcloud/wsgi.py +WSGIScriptAlias / /srv/webvirtcloud/webvirtcloud/wsgi_custom.py ``` #### Install final required packages for libvirtd and others on Host Server @@ -219,6 +220,14 @@ login: admin password: admin +### Cloud-init +Currently supports only root ssh authorized keys and hostname. Example configuration of the cloud-init client follows. +``` +datasource: + OpenStack: + metadata_urls: [ "http://webvirtcloud.domain.com/datasource" ] +``` + ### How To Update ```bash git pull diff --git a/accounts/templates/accounts-list.html b/accounts/templates/accounts-list.html new file mode 100644 index 0000000..c6d5796 --- /dev/null +++ b/accounts/templates/accounts-list.html @@ -0,0 +1,175 @@ +{% extends "base.html" %} +{% load i18n %} +{% load staticfiles %} +{% block title %}{% trans "Users" %}{% endblock %} +{% block content %} + +
Username | +Status | +Staff | +Superuser | +Clone | +
---|---|---|---|---|
+ {{ user.username }} + + + + | ++ {% if user.is_active %} + {% trans "Active" %} + {% else %} + {% trans "Blocked" %} + {% endif %} + | +{% if user.is_staff %}{% endif %} | +{% if user.is_superuser %}{% endif %} | +{% if user.userattributes.can_clone_instances %}{% endif %} | +
{% trans "To set console listen address, shutdown the instance." %}
+{% trans "To create console password, shutdown the instance." %}