Cheatography
https://cheatography.com
setup
kanku setup --devel --user <USERNAME>
|
Run setup in developer mode with username specified |
kanku setup --server --apache --ssl
|
Run setup in server mode and generate ssl certs and configure apache |
|
Upgrade kanku database |
|
So database schema versions (deployed and available) |
Begin a new project
|
List 'official' kanku images |
kanku init --domain-name new-prj --vcpu 2 --memory 1G
|
Create new KankuFile with name 'new-prj' for VM, 2 virtual CPU's and 1G RAM |
kanku init -f -o KankuFile.newPrj
|
Create new KankuFile named KankuFile.newPrj and force overwrite if file already exists |
kanku init --prj devel:kanku:images --pkg openSUSE-Leap-15.1-JeOS --repo images_leap_15_1
|
Specify options for Kanku::Handler::OBSCheck |
osc ls devel:kanku:images
|
List packages containing prebuilt images |
osc r devel:kanku:images openSUSE-Leap-15.1-JeOS
|
List repositories building for this image |
VM handling
kanku up -j <job_name_in_KankuFile>
|
Create new virtual machine and run kanku tasks |
kanku up --skip_all_checks
|
Don't check if a new appliance is building |
|
Use previously used image from cache |
kanku destroy [--keep_volumes <ADDITIONAL_DISK>]
|
Delete virtual machine |
|
Start virtual machine |
|
Stop virtual machine |
Accessing running VM
kanku ssh [-u <USERNAME>]
|
Execute ssh to VM |
|
Connect to VM console |
Remote commands
kanku login -a <kanku_api_url>
|
Login into kanku server |
|
|
|
kanku rjob -d <job_name>
|
kanku rjob -c <job_name>
|
kanku rtrigger -j <job_name>
|
Trigger job on kanku server |
|
List guest on kanku server |
|
List workers and status info of workers |
|
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets