diff --git a/data/taskwarrior/task.md b/data/taskwarrior/task.md index 2a698f4..8becdc4 100644 --- a/data/taskwarrior/task.md +++ b/data/taskwarrior/task.md @@ -9,7 +9,7 @@ Set up the configuration file: Add a task: -> task add update linux +> task add *update linux* See which task is next: @@ -19,23 +19,23 @@ Note the id number. Mark a task as started: -> task start 1 +> task start *1* Once finished: -> task 1 done +> task *1 done* # Projects Add a project: -> task add project:house buy potted plant -> task add proj:house.repair buy screwdriver -> task add proj:house.repair buy shelf brackets -> task add pro:house.paint buy white paint -> task add pro:house.paint buy red paint -> task add pro:house.paint buy black paint -> task add pro:house.paint buy brushes +> task add project:*house buy potted plant* +> task add proj:*house.repair buy screwdriver* +> task add proj:*house.repair buy shelf brackets* +3 task add pro:*house.paint buy white paint* +> task add pro:*house.paint buy red paint* +> task add pro:*house.paint buy black paint* +> task add pro:*house.paint buy brushes* ## Summary @@ -57,15 +57,15 @@ You can then see only tasks which involve buying something with: 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. -> task context work +> task context *work* Then stop. diff --git a/virtualization/xen/xe.md b/virtualization/xen/xe.md index 2f71513..d4f8a54 100644 --- a/virtualization/xen/xe.md +++ b/virtualization/xen/xe.md @@ -8,13 +8,13 @@ tags: [ "Documentation", "system" ] 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. -> xe vm-destroy uuid=243b1165-14aa-37f6-496f-44879d05b3f2 +> xe vm-destroy uuid=*243b1165-14aa-37f6-496f-44879d05b3f2* # Shut Down VM @@ -22,13 +22,13 @@ List VMs. > xe host-list -> xe vm-list resident-on= +> xe vm-list resident-on=** -> xe vm-shutdown uuid= force=true +> xe vm-shutdown uuid=** force=true If this doesn't work, try: -> xe vm-reset-powerstate uuid= force=true +> xe vm-reset-powerstate uuid=** force=true Get the id: @@ -36,7 +36,7 @@ Get the id: And destroy the domain: -> /opt/xensource/debug/xenops destroy_domain -domid +> /opt/xensource/debug/xenops destroy_domain -domid ** # 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: -> xe vbd-list vm-uuid= +> xe vbd-list vm-uuid=** Run the following commands to unplug and destroy the VBD: -> xe vbd-unplug uuid= +> xe vbd-unplug uuid=** -> xe vbd-destroy uuid= +> xe vbd-destroy uuid=** ## Make a local iso repository @@ -80,7 +80,7 @@ This creates a UUID for the new directory: # Import -xe vm-import filename=/mnt/blah.xva +xe vm-import filename=*/mnt/blah.xva* # USB @@ -94,11 +94,11 @@ Get the USB's uuid. Make the USB recognised as a device. -> xe pusb-param-set uuid= +> xe pusb-param-set uuid=** For passthrough, use this: -> xe pusb-param-set uuid= passthrough-enabled=true +> xe pusb-param-set uuid=** passthrough-enabled=true ## Attach to host @@ -112,8 +112,8 @@ For passthrough, use this: # Exporting and Exporting VMs -> xe vm-export vm= filename=/full/path.xva +> xe vm-export vm=** filename=*/full/path.xva* -> xe vm-import vm= filename=/full/path.xva +> xe vm-import vm=** filename=*/full/path.xva* diff --git a/virtualization/xen/xen_basics.md b/virtualization/xen/xen_basics.md index 223bfe7..e8f7e75 100644 --- a/virtualization/xen/xen_basics.md +++ b/virtualization/xen/xen_basics.md @@ -4,9 +4,9 @@ tags: [ "Documentation", "system" ] --- # 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: