|
51dc7d1588
|
BUGFIX: path to root dataset was wrong
|
2022-07-04 20:47:19 +02:00 |
|
|
92d8beb58f
|
Delete dynamic ruleset, obtained from /var/run/jail.$InternalName.conf
|
2022-06-26 20:03:08 +02:00 |
|
|
745811c39b
|
Version bump
|
2022-06-26 20:02:29 +02:00 |
|
|
276d01ed4c
|
VNet configuration, jail and mount ZFS datasets into jail
|
2022-06-26 20:02:28 +02:00 |
|
|
7266496cac
|
Memo for network configuration
|
2022-06-26 20:02:28 +02:00 |
|
|
5b0de24508
|
executeCommand supports quoted arguments, getValueFromRunningConfig
|
2022-06-26 20:02:28 +02:00 |
|
|
2a8836721c
|
GetInterfaces, GetBridgeMTU
|
2022-06-26 20:02:22 +02:00 |
|
|
0f6b7b8b80
|
Hide ifconfig destroy output
|
2022-06-19 19:45:36 +02:00 |
|
|
1462c383d3
|
Cosmetic rearrangement
|
2022-06-19 19:45:07 +02:00 |
|
|
29ce0d9b58
|
Cosmetic rearrangement
|
2022-06-19 19:44:40 +02:00 |
|
|
42e1085ad4
|
Fix disableRcKey bug when key do not exist
|
2022-06-19 19:14:58 +02:00 |
|
|
0f4f76a9a2
|
fix Error unmounting display bug, unconditionally unmount /dev & /dev/fd, remove parameter file
|
2022-06-19 19:14:11 +02:00 |
|
|
4d8bf6e0d5
|
executeScript function
|
2022-06-19 17:43:48 +02:00 |
|
|
d9e1e20afc
|
WIP on start: Build parameter file
|
2022-06-19 14:48:55 +02:00 |
|
|
fcf7d68d06
|
Add FreeBSD version to JailHost struct
|
2022-06-19 13:55:41 +02:00 |
|
|
f919ff2ec3
|
Initialise gJailHost
|
2022-06-19 13:55:07 +02:00 |
|
|
1bc248fdcc
|
Add hostname, hostid and version initialisation with NewJailHost()
|
2022-06-19 13:51:57 +02:00 |
|
|
a7aaa11de6
|
Fix getJailFromArray: the returned reference was to a copy of the jail
|
2022-06-19 13:50:49 +02:00 |
|
|
71f345dff4
|
temporary command to test code snippet
|
2022-06-18 20:09:32 +02:00 |
|
|
e1410bf209
|
create dynamic devfs ruleset from configured or default
|
2022-06-18 20:08:12 +02:00 |
|
|
c585678be9
|
create dynamic devfs ruleset from configured or default
|
2022-06-18 20:07:57 +02:00 |
|
|
9218ffafe1
|
Add datastore to snapshots, force Datastore display when jail exist on multi datastores
|
2022-06-18 18:24:09 +02:00 |
|
|
1c04f62ed8
|
Comments
|
2022-06-18 16:34:06 +02:00 |
|
|
2151034a02
|
Fix migrate: use datastore.ZFSDataset for replication to dest
|
2022-06-18 16:24:53 +02:00 |
|
|
e84c43c759
|
little progress on start/build devfs ruleset
|
2022-06-18 16:10:10 +02:00 |
|
|
d4f6b9ddc7
|
Add datastore list, filter and sort
|
2022-06-18 16:09:38 +02:00 |
|
|
86e08ec0f7
|
Add datastore list, filter and sort, add snapshot sorting
|
2022-06-18 16:09:22 +02:00 |
|
|
29e8736fbc
|
WIP on gocage start : dynamic devfs rulesets
|
2022-06-18 11:10:06 +02:00 |
|
|
7356c0d3d0
|
gocage migrate now synchronize destination dataset after stoppoing jail
|
2022-06-18 11:09:06 +02:00 |
|
|
a446a19a08
|
gocage console jailname now working
|
2022-06-18 11:08:03 +02:00 |
|
|
0bf825ee5a
|
WIP migration on running jail with minimized downtime
|
2022-06-05 18:43:02 +02:00 |
|
|
542d2f96f6
|
zfsCopyIncremental to send/receive incremental snapshots
|
2022-06-05 18:42:20 +02:00 |
|
|
6c6cb7edc8
|
Bugfix when "migrate clean" a jail which was already clean, code cleaning
|
2022-06-05 17:36:27 +02:00 |
|
|
31fa6904db
|
"gocage migrate jail -d destination_dataset" working for cold migrations
|
2022-06-05 14:10:07 +02:00 |
|
|
fb3ee07585
|
"gocage migrate jail -d destination_dataset" working for cold migrations
|
2022-06-05 14:09:55 +02:00 |
|
|
57c8bba09b
|
Do not support 2 jails with same name, only keep the first seen
|
2022-06-05 14:09:04 +02:00 |
|
|
249ab19173
|
getJailFromArray use name instead of internalName
|
2022-06-05 11:20:16 +02:00 |
|
|
bc92f29900
|
executeCommand now returns stdout and stderr combined in output
|
2022-06-04 22:28:38 +02:00 |
|
|
e4fc9c3a6c
|
Some code reorg
|
2022-04-24 16:55:33 +02:00 |
|
|
43f26d099f
|
WIP on start, go fmt on *
|
2022-04-24 16:49:54 +02:00 |
|
|
dbd9153513
|
Get default router and gateways, IPv4 & IPv6
|
2022-04-18 13:53:18 +02:00 |
|
|
7b5ae7ce6e
|
start : Check if nat doesnt conflict with running jails, get default router
|
2022-04-18 13:52:44 +02:00 |
|
|
77a2e9dabf
|
cleanAfterRun renamed to WriteConfigToDisk, dont overwrite "auto" values by default
|
2022-04-18 13:50:20 +02:00 |
|
|
6821b14407
|
BUGFIX : getJailConfig returns 2 values
|
2022-04-18 13:37:40 +02:00 |
|
|
f9ce3601df
|
Convert setJailProperty to setStructFieldValue
|
2022-04-18 13:36:33 +02:00 |
|
|
4f85f2e6ac
|
WIP: checks before starting jail
|
2022-04-05 22:21:39 +02:00 |
|
|
e0f371693a
|
Raise error if /etc/hostid not readable
|
2022-04-05 22:21:04 +02:00 |
|
|
0f97270a6a
|
BUGFIX on hostid reading : remove trailing \n
|
2022-04-05 21:43:11 +02:00 |
|
|
7dbbf8a757
|
started working on "gocage console"
|
2022-04-05 20:58:33 +02:00 |
|
|
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 |
|
|
4aa1c81fea
|
Create and delete snapshot OK + version bump to 0.25
|
2022-04-04 21:00:44 +02:00 |
|
|
966a3d57c1
|
Correctly display multiple jails snapshots
|
2022-04-04 20:10:42 +02:00 |
|
|
a12c268be2
|
BUGFIX on snapshot name
|
2022-04-04 20:03:08 +02:00 |
|
|
7b34495cf6
|
displaySnapshotsFields is a copy of displayJailsFields to pretty display jails snapshots
|
2022-04-04 19:47:15 +02:00 |
|
|
1c40e29eff
|
Cleaning + TODO: PRetty display of snapshot list
|
2022-04-03 14:30:14 +02:00 |
|
|
ef78245902
|
Add gocage list snapshot myjail
|
2022-04-03 14:27:42 +02:00 |
|
|
910be4ea31
|
Add gocage list snapshot myjail
|
2022-04-03 14:27:26 +02:00 |
|
|
285229009f
|
Add "gocage get all myjail"
|
2022-04-03 11:04:01 +02:00 |
|
|
19dd2dfb33
|
version bump to v0.24
|
2022-04-03 10:36:23 +02:00 |
|
|
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 |
|
|
3bedf019dc
|
Move property mgmt functions to properties.go
|
2022-04-03 10:35:01 +02:00 |
|
|
da74456d6a
|
Set property K for int type + write config to disk
|
2022-04-02 21:38:54 +02:00 |
|
|
f40db69b9d
|
WIP: Implementing setJailProperty, add recursivity to getStructFieldValue
|
2022-04-02 21:15:06 +02:00 |
|
|
239bcd4b95
|
WIP: set jail properties
|
2022-04-02 17:12:51 +02:00 |
|
|
5a3d26a52c
|
Formatting + add "set" command
|
2022-04-02 17:11:54 +02:00 |
|
|
bf20c815ce
|
Moved some code to utils.go
|
2022-04-02 15:50:14 +02:00 |
|
|
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 |
|
|
8d18bfe55d
|
Bugfix
|
2022-04-02 15:38:24 +02:00 |
|
|
eacc165481
|
Mount local FS; get struct pointer so we can modify values
|
2022-04-02 14:18:50 +02:00 |
|
|
349ea12979
|
Unmount local FS before stopping jail
|
2022-04-02 14:17:10 +02:00 |
|
|
30209d2890
|
Start implementing gocage start
|
2021-12-21 20:48:15 +01:00 |
|
|
ea25db2f27
|
Start implementing gocage start
|
2021-12-21 20:48:07 +01:00 |
|
|
12c0a37617
|
BUGFIX when no -s
|
2021-12-21 20:47:46 +01:00 |
|
|
c36cf9511a
|
Add sort support, can use every field
|
2021-12-20 22:10:38 +01:00 |
|
|
9af50111f3
|
umount procfs, linprofs, fdescfs and devfs at jail stop
|
2021-12-19 19:06:41 +01:00 |
|
|
fd0cb27798
|
Add filter option, update Readme
|
2021-12-19 16:49:07 +01:00 |
|
|
eceb108f2c
|
BUGFIX null pointer when flags not used
|
2021-12-19 14:45:12 +01:00 |
|
|
c1771153d6
|
Display fields with more than 1 value (p.e ip4_addr), line separator between jails
|
2021-12-19 14:31:51 +01:00 |
|
|
4eeb6d0d99
|
Choose fields to display with -o flag
|
2021-12-19 13:05:30 +01:00 |
|
|
eebc7da169
|
gocage stop now functionnal
|
2021-12-19 12:42:29 +01:00 |
|
|
8fdd0ffbce
|
Make Listjails and Stopjails public to differentiate from internal functions
|
2021-12-19 12:41:54 +01:00 |
|
|
f90de63f87
|
Get zpool, dont display JID if jail is off
|
2021-12-19 12:41:16 +01:00 |
|
|
d8c78cfd34
|
Check if there are rctl rules before calling removeRctlRules()
|
2021-12-18 22:23:55 +01:00 |
|
|
684129079f
|
Tried to add a running release attibute, but Config.Release already do the realtime job
|
2021-12-18 21:35:37 +01:00 |
|
|
efb7248973
|
moved utilities into cmd/utils.go, started working on stop command
|
2021-12-18 21:34:43 +01:00 |
|
|
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 |
|
|
06900bfa9c
|
displayStructFields now recurse into nested structs
|
2021-12-18 17:15:06 +01:00 |
|
|
3fdca54cc4
|
Fix NoValue field, Fix MaxLen when header name is > value
|
2021-12-18 15:37:05 +01:00 |
|
|
26166489fd
|
Add pretty display for struct array
|
2021-12-18 15:22:55 +01:00 |
|
|
541222e2d0
|
Init
|
2021-12-18 13:13:25 +01:00 |
|