fixed shell commands in documentation
Those commands were using envionment variables between single quotes
and did not work.
@@ -171,19 +171,19 @@ In your **second shell** prompt:
-X PUT 'http://localhost/boot-source' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
- -d '{
- "kernel_image_path": \"${kernel_path}\",
- "boot_args": "console=ttyS0 reboot=k panic=1 pci=off"
- }'
+ -d "{
+ \"kernel_image_path\": \"${kernel_path}\",
+ \"boot_args\": \"console=ttyS0 reboot=k panic=1 pci=off\"
+ }"
elif [ ${arch} = "aarch64" ]; then
curl --unix-socket /tmp/firecracker.socket -i \
-X PUT 'http://localhost/boot-source' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
- -d '{
- "kernel_image_path": \"${kernel_path}\,
- "boot_args": "keep_bootcon console=tty1 reboot=k panic=1 pci=off"
- }'
+ -d "{
+ \"kernel_image_path\": \"${kernel_path}\",
+ \"boot_args\": \"keep_bootcon console=tty1 reboot=k panic=1 pci=off\"
+ }"
else
echo "Cannot run firecracker on $arch architecture!"
exit 1
@@ -198,12 +198,12 @@ In your **second shell** prompt:
-X PUT 'http://localhost/drives/rootfs' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
- -d '{
- "drive_id": "rootfs",
- "path_on_host": \"${rootfs_path}\,
- "is_root_device": true,
- "is_read_only": false
- }'
+ -d "{
+ \"drive_id\": \"rootfs\",
+ \"path_on_host\": \"${rootfs_path}\",
+ \"is_root_device\": true,
+ \"is_read_only\": false
+ }"
```
- start the guest machine:
