mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 23:25:24 +00:00
Correction of requirements and add guestfs req. Minor cosmetic change instances
This commit is contained in:
parent
c38b679c88
commit
30e2a66be7
2 changed files with 6 additions and 6 deletions
|
@ -32,7 +32,7 @@ print(''.join([random.SystemRandom().choice(haystack) for _ in range(50)]))
|
||||||
### Install WebVirtCloud panel (Ubuntu)
|
### Install WebVirtCloud panel (Ubuntu)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt-get -y install git python-virtualenv python-dev python-lxml libvirt-dev zlib1g-dev nginx supervisor libsasl2-modules gcc pkg-config
|
sudo apt-get -y install git python-virtualenv python-dev python-lxml libvirt-dev zlib1g-dev nginx supervisor libsasl2-modules gcc pkg-config python-guestfs
|
||||||
git clone https://github.com/retspen/webvirtcloud
|
git clone https://github.com/retspen/webvirtcloud
|
||||||
cd webvirtcloud
|
cd webvirtcloud
|
||||||
cp webvirtcloud/settings.py.template webvirtcloud/settings.py
|
cp webvirtcloud/settings.py.template webvirtcloud/settings.py
|
||||||
|
@ -67,7 +67,7 @@ wget -O - https://clck.ru/9V9fH | sudo sh
|
||||||
### Install WebVirtCloud panel (CentOS)
|
### Install WebVirtCloud panel (CentOS)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo yum -y install python-virtualenv python-devel libvirt-devel glibc gcc nginx supervisor libxml2 libxml2-devel git
|
sudo yum -y install python-virtualenv python-devel libvirt-devel glibc gcc nginx supervisor python-lxml git python-libguestfs
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Creating directories and cloning repo
|
#### Creating directories and cloning repo
|
||||||
|
@ -230,7 +230,10 @@ datasource:
|
||||||
|
|
||||||
### How To Update
|
### How To Update
|
||||||
```bash
|
```bash
|
||||||
|
sudo virtualenv venv
|
||||||
|
sudo source venv/bin/activate
|
||||||
git pull
|
git pull
|
||||||
|
pip install -U -r requirements.txt
|
||||||
python manage.py migrate
|
python manage.py migrate
|
||||||
sudo service supervisor restart
|
sudo service supervisor restart
|
||||||
```
|
```
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
<th>User</th>
|
<th>User</th>
|
||||||
<th>Status</th>
|
<th>Status</th>
|
||||||
<th>VCPU</th>
|
<th>VCPU</th>
|
||||||
<th>Memory<br>({% trans "MB" %})</th>
|
<th>Memory</th>
|
||||||
<th data-sortable="false" style="width:205px;">Actions & Mem Usage</th>
|
<th data-sortable="false" style="width:205px;">Actions & Mem Usage</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -65,10 +65,7 @@
|
||||||
<td style="text-align:center;">{{ host.3 }}</td>
|
<td style="text-align:center;">{{ host.3 }}</td>
|
||||||
<td style="text-align:right;">{{ host.4|filesizeformat }}</td>
|
<td style="text-align:right;">{{ host.4|filesizeformat }}</td>
|
||||||
<td style="text-align:left;">
|
<td style="text-align:left;">
|
||||||
|
|
||||||
<div class="progress-bar-success" role="progressbar" style="width: {{ host.5 }}%" aria-valuenow="{{ host.5 }}" aria-valuemin="0" aria-valuemax="100">{{ host.5 }}%</div>
|
<div class="progress-bar-success" role="progressbar" style="width: {{ host.5 }}%" aria-valuenow="{{ host.5 }}" aria-valuemin="0" aria-valuemax="100">{{ host.5 }}%</div>
|
||||||
|
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- copied /-->
|
<!-- copied /-->
|
||||||
|
|
Loading…
Reference in a new issue