readme amendment

This commit is contained in:
John Hua 2015-08-13 14:49:50 +08:00
parent 4f807b3624
commit 5f27b2aa4f
1 changed files with 10 additions and 10 deletions

View File

@ -4,27 +4,27 @@ xenserver-fuel-plugin
Prerequisites
-------------
[user@local tmp]# apt-get install createrepo rpm dpkg-dev python-pip sshpass -y \
[user@local ~]# apt-get install createrepo rpm dpkg-dev python-pip sshpass -y \
|| yum install createrepo rpm rpm-build dpkg-devel python-pip sshpass -y
Environment Setup
-----------------
[user@local tmp]# git clone https://github.com/citrix-openstack/fuel-plugins.git
[user@local tmp]# sudo pip install fuel-plugins/fuel_plugin_builder/
[user@local tmp]# git clone https://github.com/citrix-openstack/xenserver-fuel-plugin.git
[user@local ~]# git clone https://github.com/citrix-openstack/fuel-plugins.git
[user@local ~]# sudo pip install fuel-plugins/fuel_plugin_builder/
[user@local ~]# git clone https://github.com/citrix-openstack/xenserver-fuel-plugin.git
Deployment
----------
Build
-----
[user@local tmp]# fpb --check xenserver-fuel-plugin
[user@local tmp]# fpb --build xenserver-fuel-plugin
[user@local ~]# fpb --check xenserver-fuel-plugin
[user@local ~]# fpb --build xenserver-fuel-plugin
Installation
------------
[user@local tmp]# scp xenserver-fuel-plugin*.noarch.rpm root@<Fuel_Master_IP>:/tmp
[user@local ~]# scp xenserver-fuel-plugin/xenserver-fuel-plugin*.noarch.rpm root@Fuel_Master_IP:/tmp
[root@fuel tmp]# fuel plugins --install xenserver-fuel-plugin*.noarch.rpm