Commit Graph

29 Commits

Author SHA1 Message Date
yo
e13437b79e Fix version display 2022-07-10 14:16:39 +02:00
yo
745811c39b Version bump 2022-06-26 20:02:29 +02:00
yo
f919ff2ec3 Initialise gJailHost 2022-06-19 13:55:07 +02:00
yo
71f345dff4 temporary command to test code snippet 2022-06-18 20:09:32 +02:00
yo
9218ffafe1 Add datastore to snapshots, force Datastore display when jail exist on multi datastores 2022-06-18 18:24:09 +02:00
yo
86e08ec0f7 Add datastore list, filter and sort, add snapshot sorting 2022-06-18 16:09:22 +02:00
yo
a446a19a08 gocage console jailname now working 2022-06-18 11:08:03 +02:00
yo
fb3ee07585 "gocage migrate jail -d destination_dataset" working for cold migrations 2022-06-05 14:09:55 +02:00
yo
43f26d099f WIP on start, go fmt on * 2022-04-24 16:49:54 +02:00
yo
77a2e9dabf cleanAfterRun renamed to WriteConfigToDisk, dont overwrite "auto" values by default 2022-04-18 13:50:20 +02:00
yo
0053fd6c8b WIP on rollback, started "gocage console", default values for jail properties to stay compatible with iocage 2022-04-05 20:58:11 +02:00
yo
4aa1c81fea Create and delete snapshot OK + version bump to 0.25 2022-04-04 21:00:44 +02:00
yo
910be4ea31 Add gocage list snapshot myjail 2022-04-03 14:27:26 +02:00
yo
285229009f Add "gocage get all myjail" 2022-04-03 11:04:01 +02:00
yo
19dd2dfb33 version bump to v0.24 2022-04-03 10:36:23 +02:00
yo
139ea18422 add "gocage get property jail" + "gocage set property jail" now support string, int and bool types 2022-04-03 10:35:48 +02:00
yo
da74456d6a Set property K for int type + write config to disk 2022-04-02 21:38:54 +02:00
yo
5a3d26a52c Formatting + add "set" command 2022-04-02 17:11:54 +02:00
yo
f1c4fd960d Add command "list properties" so we can get all internal properties to sort, filter, or set jail properties 2022-04-02 15:40:04 +02:00
yo
eacc165481 Mount local FS; get struct pointer so we can modify values 2022-04-02 14:18:50 +02:00
yo
30209d2890 Start implementing gocage start 2021-12-21 20:48:15 +01:00
yo
c36cf9511a Add sort support, can use every field 2021-12-20 22:10:38 +01:00
yo
fd0cb27798 Add filter option, update Readme 2021-12-19 16:49:07 +01:00
yo
eceb108f2c BUGFIX null pointer when flags not used 2021-12-19 14:45:12 +01:00
yo
c1771153d6 Display fields with more than 1 value (p.e ip4_addr), line separator between jails 2021-12-19 14:31:51 +01:00
yo
4eeb6d0d99 Choose fields to display with -o flag 2021-12-19 13:05:30 +01:00
yo
8fdd0ffbce Make Listjails and Stopjails public to differentiate from internal functions 2021-12-19 12:41:54 +01:00
yo
57ff518f6c chose listed jails, show real field name in header, sudo parameter, moved utilities into cmd/utils.go, started working on stop command 2021-12-18 21:34:11 +01:00
yo
541222e2d0 Init 2021-12-18 13:13:25 +01:00