Skip to content

Commit

Permalink
readme: use the firectl binary
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel Karp <[email protected]>
Signed-off-by: Arun Gupta <[email protected]>
Signed-off-by: Samuel Karp <[email protected]>
  • Loading branch information
arun-gupta and samuelkarp committed Jun 13, 2019
1 parent 9260d0f commit 261f391
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,23 +66,22 @@ firectl \
Getting Started on AWS
---

- Create an `i3.metal` instance using Amazon Linux 2
- Build latest version of firectl:
- Create an `m5d.metal` instance using Amazon Linux 2
- Get firectl binary:

```
sudo yum install -y git
git clone https://github.com/firecracker-microvm/firectl
sudo amazon-linux-extras install -y golang1.11
cd firectl
make
curl -Lo firectl https://firectl-release.s3.amazonaws.com/firectl-v0.1.0
curl -Lo firectl.sha256 https://firectl-release.s3.amazonaws.com/firectl-v0.1.0.sha256
sha256sum -c firectl.sha256
chmod +x firectl
```

- Get Firecracker binary:

```
curl -LOJ https://github.com/firecracker-microvm/firecracker/releases/download/v0.12.0/firecracker-v0.12.0
chmod +x firecracker-v0.12.0
sudo mv firecracker-v0.12.0 /usr/local/bin/firecracker
curl -Lo firecracker https://github.com/firecracker-microvm/firecracker/releases/download/v0.16.0/firecracker-v0.16.0
chmod +x firecracker
sudo mv firecracker /usr/local/bin/firecracker
```

- Give read/write access to KVM:
Expand All @@ -103,8 +102,7 @@ Getting Started on AWS
```
./firectl \
--kernel=hello-vmlinux.bin \
--root-drive=hello-rootfs.ext4 \
--kernel-opts="console=ttyS0 noapic reboot=k panic=1 pci=off nomodules rw"
--root-drive=hello-rootfs.ext4
```

Testing
Expand Down

0 comments on commit 261f391

Please sign in to comment.