place proper variables in xen notes
This commit is contained in:
@@ -4,17 +4,22 @@ tags: [ "Documentation", "xe", "virtualization", "volume" ]
|
||||
---
|
||||
# Make a local iso repository
|
||||
|
||||
|
||||
```bash
|
||||
mkdir -p */var/opt/xen/ISO_Store*
|
||||
STORE_PATH=/var/opt/xen/ISO_Store
|
||||
```
|
||||
|
||||
```bash
|
||||
xe sr-create name-label=*LocalISO* type=iso device-config:location=*/var/opt/xen/ISO_Store* device-config:legacy_mode=true content-type=iso
|
||||
mkdir -p $STORE_PATH
|
||||
```
|
||||
|
||||
```bash
|
||||
xe sr-create name-label="$STORAGE_NAME" type=iso device-config:location=$STORE_PATH device-config:legacy_mode=true content-type=iso
|
||||
```
|
||||
|
||||
This creates a UUID for the new directory:
|
||||
|
||||
`e94e25bb-bcdc-801b-b62a-b51b686a3bdc`
|
||||
> e94e25bb-bcdc-801b-b62a-b51b686a3bdc
|
||||
|
||||
# Main Console
|
||||
|
||||
|
Reference in New Issue
Block a user