make optional arguments *italic*
This commit is contained in:
parent
c11bc0a1d4
commit
0996af4e01
@ -9,7 +9,7 @@ Set up the configuration file:
|
|||||||
|
|
||||||
Add a task:
|
Add a task:
|
||||||
|
|
||||||
> task add update linux
|
> task add *update linux*
|
||||||
|
|
||||||
See which task is next:
|
See which task is next:
|
||||||
|
|
||||||
@ -19,23 +19,23 @@ Note the id number.
|
|||||||
|
|
||||||
Mark a task as started:
|
Mark a task as started:
|
||||||
|
|
||||||
> task start 1
|
> task start *1*
|
||||||
|
|
||||||
Once finished:
|
Once finished:
|
||||||
|
|
||||||
> task 1 done
|
> task *1 done*
|
||||||
|
|
||||||
# Projects
|
# Projects
|
||||||
|
|
||||||
Add a project:
|
Add a project:
|
||||||
|
|
||||||
> task add project:house buy potted plant
|
> task add project:*house buy potted plant*
|
||||||
> task add proj:house.repair buy screwdriver
|
> task add proj:*house.repair buy screwdriver*
|
||||||
> task add proj:house.repair buy shelf brackets
|
> task add proj:*house.repair buy shelf brackets*
|
||||||
> task add pro:house.paint buy white paint
|
3 task add pro:*house.paint buy white paint*
|
||||||
> task add pro:house.paint buy red paint
|
> task add pro:*house.paint buy red paint*
|
||||||
> task add pro:house.paint buy black paint
|
> task add pro:*house.paint buy black paint*
|
||||||
> task add pro:house.paint buy brushes
|
> task add pro:*house.paint buy brushes*
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
@ -57,15 +57,15 @@ You can then see only tasks which involve buying something with:
|
|||||||
|
|
||||||
Set three contexts by their tags:
|
Set three contexts by their tags:
|
||||||
|
|
||||||
> task context define work +sa or +hr
|
> task context define *work +sa or +hr*
|
||||||
|
|
||||||
> task context define study +ed or +void or +rat
|
> task context define *study +ed or +void or +rat*
|
||||||
|
|
||||||
> task context define home -sa -hr -ed -void -rat
|
> task context define *home -sa -hr -ed -void -rat*
|
||||||
|
|
||||||
Change to the first context.
|
Change to the first context.
|
||||||
|
|
||||||
> task context work
|
> task context *work*
|
||||||
|
|
||||||
Then stop.
|
Then stop.
|
||||||
|
|
||||||
|
@ -8,13 +8,13 @@ tags: [ "Documentation", "system" ]
|
|||||||
|
|
||||||
Start, stop, et c. all done with `xe`:
|
Start, stop, et c. all done with `xe`:
|
||||||
|
|
||||||
> xe vm-start vm=TTS
|
> xe vm-start vm=*TTS*
|
||||||
|
|
||||||
> xe vm-shutdown vm=Bob
|
> xe vm-shutdown vm=*Bob*
|
||||||
|
|
||||||
Destruction requires the uuid.
|
Destruction requires the uuid.
|
||||||
|
|
||||||
> xe vm-destroy uuid=243b1165-14aa-37f6-496f-44879d05b3f2
|
> xe vm-destroy uuid=*243b1165-14aa-37f6-496f-44879d05b3f2*
|
||||||
|
|
||||||
# Shut Down VM
|
# Shut Down VM
|
||||||
|
|
||||||
@ -22,13 +22,13 @@ List VMs.
|
|||||||
|
|
||||||
> xe host-list
|
> xe host-list
|
||||||
|
|
||||||
> xe vm-list resident-on=<uuid_of_host>
|
> xe vm-list resident-on=*<uuid_of_host>*
|
||||||
|
|
||||||
> xe vm-shutdown uuid=<UUID from step 3> force=true
|
> xe vm-shutdown uuid=*<UUID from step 3>* force=true
|
||||||
|
|
||||||
If this doesn't work, try:
|
If this doesn't work, try:
|
||||||
|
|
||||||
> xe vm-reset-powerstate uuid=<UUID from step 3> force=true
|
> xe vm-reset-powerstate uuid=*<UUID from step 3>* force=true
|
||||||
|
|
||||||
Get the id:
|
Get the id:
|
||||||
|
|
||||||
@ -36,7 +36,7 @@ Get the id:
|
|||||||
|
|
||||||
And destroy the domain:
|
And destroy the domain:
|
||||||
|
|
||||||
> /opt/xensource/debug/xenops destroy_domain -domid <DOMID from step 7>
|
> /opt/xensource/debug/xenops destroy_domain -domid *<DOMID from step 7>*
|
||||||
|
|
||||||
# Error: `Internal error:xenopsd internal error: Storage_interface.Illegal_transition` in XenServer
|
# Error: `Internal error:xenopsd internal error: Storage_interface.Illegal_transition` in XenServer
|
||||||
|
|
||||||
@ -62,13 +62,13 @@ This is the UUID of the Control Domain. The Control Domain is a privileged Virtu
|
|||||||
|
|
||||||
Run the following command to obtain the UUID of the VBD (Virtual Block Device) object linking the Control Domain:
|
Run the following command to obtain the UUID of the VBD (Virtual Block Device) object linking the Control Domain:
|
||||||
|
|
||||||
> xe vbd-list vm-uuid=<uuid of the Control Domain>
|
> xe vbd-list vm-uuid=*<uuid of the Control Domain>*
|
||||||
|
|
||||||
Run the following commands to unplug and destroy the VBD:
|
Run the following commands to unplug and destroy the VBD:
|
||||||
|
|
||||||
> xe vbd-unplug uuid=<uuid of the vbd>
|
> xe vbd-unplug uuid=*<uuid of the vbd>*
|
||||||
|
|
||||||
> xe vbd-destroy uuid=<uuid of the vbd>
|
> xe vbd-destroy uuid=*<uuid of the vbd>*
|
||||||
|
|
||||||
## Make a local iso repository
|
## Make a local iso repository
|
||||||
|
|
||||||
@ -80,7 +80,7 @@ This creates a UUID for the new directory:
|
|||||||
|
|
||||||
# Import
|
# Import
|
||||||
|
|
||||||
xe vm-import filename=/mnt/blah.xva
|
xe vm-import filename=*/mnt/blah.xva*
|
||||||
|
|
||||||
# USB
|
# USB
|
||||||
|
|
||||||
@ -94,11 +94,11 @@ Get the USB's uuid.
|
|||||||
|
|
||||||
Make the USB recognised as a device.
|
Make the USB recognised as a device.
|
||||||
|
|
||||||
> xe pusb-param-set uuid=<uuid>
|
> xe pusb-param-set uuid=*<uuid>*
|
||||||
|
|
||||||
For passthrough, use this:
|
For passthrough, use this:
|
||||||
|
|
||||||
> xe pusb-param-set uuid=<uuid> passthrough-enabled=true
|
> xe pusb-param-set uuid=*<uuid>* passthrough-enabled=true
|
||||||
|
|
||||||
## Attach to host
|
## Attach to host
|
||||||
|
|
||||||
@ -112,8 +112,8 @@ For passthrough, use this:
|
|||||||
|
|
||||||
# Exporting and Exporting VMs
|
# Exporting and Exporting VMs
|
||||||
|
|
||||||
> xe vm-export vm=<Name> filename=/full/path.xva
|
> xe vm-export vm=*<Name>* filename=*/full/path.xva*
|
||||||
|
|
||||||
> xe vm-import vm=<Name> filename=/full/path.xva
|
> xe vm-import vm=*<Name>* filename=*/full/path.xva*
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,9 +4,9 @@ tags: [ "Documentation", "system" ]
|
|||||||
---
|
---
|
||||||
# Make a local iso repository
|
# Make a local iso repository
|
||||||
|
|
||||||
> mkdir -p /var/opt/xen/ISO_Store
|
> mkdir -p */var/opt/xen/ISO_Store*
|
||||||
|
|
||||||
> xe sr-create name-label=LocalISO type=iso device-config:location=/var/opt/xen/ISO_Store device-config:legacy_mode=true content-type=iso
|
> xe sr-create name-label=*LocalISO* type=iso device-config:location=*/var/opt/xen/ISO_Store* device-config:legacy_mode=true content-type=iso
|
||||||
|
|
||||||
This creates a UUID for the new directory:
|
This creates a UUID for the new directory:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user