Skip to content

Commit

Permalink
Cleaned up input file and fixed issue with not having permission to r…
Browse files Browse the repository at this point in the history
…un interactive.sh
  • Loading branch information
DannyJiang1 committed Aug 17, 2023
1 parent 0d80d40 commit e2b41f9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 22 deletions.
29 changes: 7 additions & 22 deletions examples/partitionContainer/input.json
Original file line number Diff line number Diff line change
@@ -1,39 +1,24 @@
{
"general": {
"label": "gpt",
"initial_gap": "1MB"
"initial_gap": "2MB"
},
"devices": {
"/dev/sda": {
"blkSize": "512B",
"partitions": [{
"size": "1000MiB",
"size": "512MiB",
"type": "efi"
},{
"size": "2000MiB",
"type": "linux",
"optional": {
"UUID": "75250d76-8cc6-458e-bd66-bd47cc81a812"
}
"size": "2GiB",
"type": "swap"
},{
"size": "3000kB",
"size": "16GiB",
"type": "linux",
"optional": {
"mountPoint": "/var/"
}
},{
"size": "4000KB",
"type": "swap",
"optional": {
"UUID": "0fc63daf-8483-4772-8e79-3d69d8477de4",
"UUID": "44479540-f297-41b2-9af7-d131d5f0458a",
"mountPoint": "/"
}
},{
"size": "500KB",
"type": "linux"
},{
"size": "512KB",
"type": "linux"
}
}
]
}
Expand Down
1 change: 1 addition & 0 deletions examples/partitionContainer/inputScript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ then
then
# If no environmental variable is inputted
# then we run the interactive script
chmod 444 interactive.sh
./interactive.sh
exit
fi
Expand Down

0 comments on commit e2b41f9

Please sign in to comment.