Commit Graph

30 Commits

Author SHA1 Message Date
yo
c2277ce10c Display currently running version when listing jails 2023-08-06 14:50:32 +02:00
yo
fe4192da2d bugfix printf 2023-08-05 19:49:55 +02:00
yo
561ae4386a FIXME 2022-11-20 20:13:47 +01:00
yo
07eccffbd1 Add Devfs_ruleset property to reflect generated RS 2022-10-15 16:33:29 +02:00
yo
fabe9cc330 Use hostuuid as jail Name 2022-09-25 13:45:12 +02:00
yo
09ac7464f5 BUGFIX: Was adding 2 Datastore columns 2022-07-10 21:26:54 +02:00
yo
3dae685fc4 Check if jail is unique, else check if long name is used 2022-07-10 14:18:29 +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
57c8bba09b Do not support 2 jails with same name, only keep the first seen 2022-06-05 14:09:04 +02:00
yo
43f26d099f WIP on start, go fmt on * 2022-04-24 16:49:54 +02:00
yo
6821b14407 BUGFIX : getJailConfig returns 2 values 2022-04-18 13:37:40 +02:00
yo
e0f371693a Raise error if /etc/hostid not readable 2022-04-05 22:21:04 +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
7b34495cf6 displaySnapshotsFields is a copy of displayJailsFields to pretty display jails snapshots 2022-04-04 19:47:15 +02:00
yo
910be4ea31 Add gocage list snapshot myjail 2022-04-03 14:27:26 +02:00
yo
bf20c815ce Moved some code to utils.go 2022-04-02 15:50:14 +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
12c0a37617 BUGFIX when no -s 2021-12-21 20:47:46 +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
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
f90de63f87 Get zpool, dont display JID if jail is off 2021-12-19 12:41:16 +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
06900bfa9c displayStructFields now recurse into nested structs 2021-12-18 17:15:06 +01:00
yo
3fdca54cc4 Fix NoValue field, Fix MaxLen when header name is > value 2021-12-18 15:37:05 +01:00
yo
26166489fd Add pretty display for struct array 2021-12-18 15:22:55 +01:00
yo
541222e2d0 Init 2021-12-18 13:13:25 +01:00