From 5b2f3a2f0a95932edc68b0f0e8fc27a30f4bc990 Mon Sep 17 00:00:00 2001 From: yo Date: Sun, 22 Sep 2024 17:37:03 +0200 Subject: [PATCH] Update README to reflect change in fetch flags and new -p flag for create --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 97599fd..7a1c183 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,7 @@ Create jails ------------ For now, we can't pass config at creation time. We have to define config after creation:

-gocage create jail1 -r 13.2-RELEASE
-gocage set Config.Ip4_addr="vnet0|192.168.1.91/24" Config.Vnet=1 jail1
+gocage create jail1 -r 13.2-RELEASE -p "Config.Ip4_addr='vnet0|192.168.1.91/24',Config.Ip6=none,Config.Boot=1"
 
Create basejail (jail based on a release, system will be nullfs read-only mounted from the release directory): @@ -30,7 +29,6 @@ gocage create -b -r 14.0-RELEASE basejail1 List jails ---------- -Nothing fancy, just use `gocage list` ### Specify fields to display @@ -233,7 +231,7 @@ Fetch Files can be fetched from custom repository, or from local directory with "from" option. For example if you destroyed releases/12.3-RELEASE and still have the downloaded files in /iocage/download/12.3-RELEASE:

-gocage fetch -r 12.3 -o iocage --from file:/iocage/download
+gocage fetch -r 12.3 -d iocage -f file:/iocage/download