Spin ManageIQ/CFME
Appliance locally with Virtualization
.
Under progress...
-
Virtualization:
-
Devel Packages:
sudo dnf install libvirt-devel python-devel python3-devel
-
pip
pip install miqbox --user
-
source
python setup.py install --user
Note: For Development install in editable mode.
- libvirt: Polkit error
- To prevent
libvirt
from askingroot
password:- Add
libvirt
group (It may be present by default)sudo groupadd libvirt
- Add not root
user
as membersudo usermod -a -G libvirt <username>
- Add
Polkit
rule forlibvirt
:vim /etc/polkit-1/rules.d/80-libvirt.rules
polkit.addRule(function(action, subject) { if (action.id == "org.libvirt.unix.manage" && subject.local && subject.active && subject.isInGroup("libvirt")) { return polkit.Result.YES; } });
- Add
Usage: miqbox [OPTIONS] COMMAND [ARGS]...
Command line application entry point
Options:
--help Show this message and exit.
Commands:
config Configure miqbox
create Create Appliance
evmserver Restart Miq/CFME Server
images Get local or remote available image Args: local: default, will...
kill Kill Appliance
pull Download Image
rmi Remove local Image
start Start Appliance
status Appliance Status
stop Stop Appliance