Commit Graph

233 Commits

Author SHA1 Message Date
yo
1b27753718 Add service file 2022-10-15 15:16:26 +02:00
yo
c97f5317dd Add start and stop all jails for boot/shutdown, add debug mode 2022-10-15 14:53:43 +02:00
yo
38266af66e Version 0.29f + WIP: gocage destroy 2022-09-25 13:45:40 +02:00
yo
fabe9cc330 Use hostuuid as jail Name 2022-09-25 13:45:12 +02:00
yo
0637686f91 Format 2022-09-25 12:01:16 +02:00
yo
99f7bed6f3 Add ability to delete multiple snapshots separated by comma 2022-07-14 14:00:41 +02:00
yo
9b86d786fe Fix setting Running to false 2022-07-14 12:32:14 +02:00
yo
efd28c03ad Reset Running and JID so we can call start() after stop() 2022-07-14 11:12:13 +02:00
yo
e1786a4d08 Fix poststart 2022-07-14 11:11:23 +02:00
yo
bf1037c1d3 Add gocage restart $jailname 2022-07-14 10:57:57 +02:00
yo
cbdcb039cb Version bump 2022-07-10 21:27:17 +02:00
yo
09ac7464f5 BUGFIX: Was adding 2 Datastore columns 2022-07-10 21:26:54 +02:00
yo
de1a92dec8 Remove Datastore from default columns (it will be added if jails on 2 DS) 2022-07-10 21:26:18 +02:00
yo
d16a2d6789 Execute "login -f root" when gocage console 2022-07-10 21:13:36 +02:00
yo
35b75ee7fb Version bump 2022-07-10 20:56:57 +02:00
yo
4d92e880c9 TODO comments 2022-07-10 20:56:49 +02:00
yo
52916f9ae9 TODO: Browse jailed ZFS dataset to migrate them 2022-07-10 20:56:17 +02:00
yo
31961b8e3a Start rtsold 2022-07-10 20:52:54 +02:00
yo
128e2aa0c4 Cosmetic 2022-07-10 20:48:40 +02:00
yo
0c7293ae66 Generate resolv.conf, copy localtime 2022-07-10 20:48:24 +02:00
yo
e1f6b4f6f9 Add default gateway, execute exec_start 2022-07-10 19:55:13 +02:00
yo
f29aeb2e23 Execute poststop 2022-07-10 19:54:23 +02:00
yo
1cb7c5fec7 Bugfixes, dont stop if fs already mounted in jail 2022-07-10 16:29:26 +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
9b90f9c812 Use getJailFromArray so we can handle same name jails 2022-07-10 14:17:12 +02:00
yo
e13437b79e Fix version display 2022-07-10 14:16:39 +02:00
yo
484e05e8d1 Use getJailFromArray so we can handle same name jails + check pertinence before jailing non existing DS 2022-07-10 14:16:24 +02:00
yo
e7a6bdd376 Use getJailFromArray so we can handle same name jails 2022-07-10 14:15:26 +02:00
yo
170dce31b3 getJailFromArray now support long names 2022-07-10 14:15:02 +02:00
yo
1295fb86f6 Remove trailing \n 2022-07-10 14:14:32 +02:00
yo
d3410c281a use getJailFromArray so we can handle same name jails on different DS 2022-07-10 14:14:12 +02:00
yo
51dc7d1588 BUGFIX: path to root dataset was wrong 2022-07-04 20:47:19 +02:00
yo
92d8beb58f Delete dynamic ruleset, obtained from /var/run/jail.$InternalName.conf 2022-06-26 20:03:08 +02:00
yo
745811c39b Version bump 2022-06-26 20:02:29 +02:00
yo
276d01ed4c VNet configuration, jail and mount ZFS datasets into jail 2022-06-26 20:02:28 +02:00
yo
7266496cac Memo for network configuration 2022-06-26 20:02:28 +02:00
yo
5b0de24508 executeCommand supports quoted arguments, getValueFromRunningConfig 2022-06-26 20:02:28 +02:00
yo
2a8836721c GetInterfaces, GetBridgeMTU 2022-06-26 20:02:22 +02:00
yo
0f6b7b8b80 Hide ifconfig destroy output 2022-06-19 19:45:36 +02:00
yo
1462c383d3 Cosmetic rearrangement 2022-06-19 19:45:07 +02:00
yo
29ce0d9b58 Cosmetic rearrangement 2022-06-19 19:44:40 +02:00
yo
42e1085ad4 Fix disableRcKey bug when key do not exist 2022-06-19 19:14:58 +02:00
yo
0f4f76a9a2 fix Error unmounting display bug, unconditionally unmount /dev & /dev/fd, remove parameter file 2022-06-19 19:14:11 +02:00
yo
e87699e2dc executeScript function 2022-06-19 17:44:00 +02:00
yo
4d8bf6e0d5 executeScript function 2022-06-19 17:43:48 +02:00
yo
d9e1e20afc WIP on start: Build parameter file 2022-06-19 14:48:55 +02:00
yo
fcf7d68d06 Add FreeBSD version to JailHost struct 2022-06-19 13:55:41 +02:00
yo
f919ff2ec3 Initialise gJailHost 2022-06-19 13:55:07 +02:00
yo
1bc248fdcc Add hostname, hostid and version initialisation with NewJailHost() 2022-06-19 13:51:57 +02:00
yo
a7aaa11de6 Fix getJailFromArray: the returned reference was to a copy of the jail 2022-06-19 13:50:49 +02:00