-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an image-default.yaml, pass JSON to create_disk.sh
The way we parse an `image.yaml` and then convert it into arguments for `create_disk.sh` is unwieldy. Instead, convert `image.yaml` into JSON, inheriting default values from a separate `image-default.yaml` we ship. Then pass that JSON to `create_disk.sh`. This only converts the `rootfs` argument, but if people are OK with this I can go ahead and convert everything else - getting us to where the only argument to `create_disk.sh` is a JSON file that's already been pre-validated.
- Loading branch information
Showing
3 changed files
with
28 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# This file contains defaults for image.yaml that is used by create_disk.sh | ||
rootfs: "xfs" |