From 7fc018006a9ccde53573136987f8cb20d5cc3440 Mon Sep 17 00:00:00 2001 From: Benjamin Preiss Date: Tue, 1 Sep 2020 18:07:24 +0200 Subject: [PATCH] Add description for powershell --- modules/ROOT/pages/using-fcct.adoc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/ROOT/pages/using-fcct.adoc b/modules/ROOT/pages/using-fcct.adoc index 109d1bf0..6fde76c9 100644 --- a/modules/ROOT/pages/using-fcct.adoc +++ b/modules/ROOT/pages/using-fcct.adoc @@ -21,6 +21,9 @@ This example uses podman, but you can use docker in a similar manner. Note that .Example running `fcct` using standard in and standard out: `podman run -i --rm quay.io/coreos/fcct:release --pretty --strict < your_config.fcc > transpiled_config.ign` + +.Same example as above just for powershell (`<` is a reserved char.): +`Get-Content your_config.fcc | podman run -i --rm quay.io/coreos/fcct:release --pretty --strict > transpiled_config.ign` ++ .Example running `fcct` using files: `podman run --rm -v /path/to/your_config.fcc:/config.fcc:z quay.io/coreos/fcct:release --pretty --strict /config.fcc > transpiled_config.ign` +