Commit Graph

  • 9c18a83ee8 ExecuteCommandWithOutputToStdout yo 2022-11-20 20:16:23 +01:00
  • 561ae4386a FIXME yo 2022-11-20 20:13:47 +01:00
  • 667c73216e gocage fetch finished yo 2022-11-06 16:34:52 +01:00
  • 9e506145a8 downloaded files goes to download yo 2022-10-16 15:32:47 +02:00
  • d636d963ff WIP: fetch command yo 2022-10-16 15:20:00 +02:00
  • 56b4d8ea84 WIP: fetch command yo 2022-10-16 15:19:51 +02:00
  • abaa4a11f9 Check if dataset exist, create dataset yo 2022-10-16 15:19:03 +02:00
  • 74602dc0df Add arch property to jailhost yo 2022-10-16 15:18:35 +02:00
  • be756edea7 rm blank line yo 2022-10-16 15:17:56 +02:00
  • 546382ded7 Add TODO in readme yo 2022-10-15 16:38:17 +02:00
  • 07eccffbd1 Add Devfs_ruleset property to reflect generated RS v0.31 yo 2022-10-15 16:33:29 +02:00
  • 7809107ea4 Update readme yo 2022-10-15 15:24:24 +02:00
  • 5ab0a59db4 Update readme yo 2022-10-15 15:23:58 +02:00
  • 1b27753718 Add service file yo 2022-10-15 15:16:26 +02:00
  • c97f5317dd Add start and stop all jails for boot/shutdown, add debug mode v0.30 yo 2022-10-15 14:53:43 +02:00
  • 38266af66e Version 0.29f + WIP: gocage destroy v0.29f yo 2022-09-25 13:45:40 +02:00
  • fabe9cc330 Use hostuuid as jail Name yo 2022-09-25 13:45:12 +02:00
  • 0637686f91 Format yo 2022-09-25 12:01:16 +02:00
  • 99f7bed6f3 Add ability to delete multiple snapshots separated by comma yo 2022-07-14 14:00:41 +02:00
  • 9b86d786fe Fix setting Running to false yo 2022-07-14 12:32:14 +02:00
  • efd28c03ad Reset Running and JID so we can call start() after stop() yo 2022-07-14 11:12:13 +02:00
  • e1786a4d08 Fix poststart yo 2022-07-14 11:11:23 +02:00
  • bf1037c1d3 Add gocage restart $jailname yo 2022-07-14 10:57:57 +02:00
  • cbdcb039cb Version bump yo 2022-07-10 21:27:17 +02:00
  • 09ac7464f5 BUGFIX: Was adding 2 Datastore columns yo 2022-07-10 21:26:54 +02:00
  • de1a92dec8 Remove Datastore from default columns (it will be added if jails on 2 DS) yo 2022-07-10 21:26:18 +02:00
  • d16a2d6789 Execute "login -f root" when gocage console yo 2022-07-10 21:13:36 +02:00
  • 35b75ee7fb Version bump yo 2022-07-10 20:56:57 +02:00
  • 4d92e880c9 TODO comments yo 2022-07-10 20:56:49 +02:00
  • 52916f9ae9 TODO: Browse jailed ZFS dataset to migrate them yo 2022-07-10 20:56:17 +02:00
  • 31961b8e3a Start rtsold yo 2022-07-10 20:52:54 +02:00
  • 128e2aa0c4 Cosmetic yo 2022-07-10 20:48:40 +02:00
  • 0c7293ae66 Generate resolv.conf, copy localtime yo 2022-07-10 20:48:24 +02:00
  • e1f6b4f6f9 Add default gateway, execute exec_start yo 2022-07-10 19:55:13 +02:00
  • f29aeb2e23 Execute poststop yo 2022-07-10 19:54:23 +02:00
  • 1cb7c5fec7 Bugfixes, dont stop if fs already mounted in jail yo 2022-07-10 16:29:26 +02:00
  • 3dae685fc4 Check if jail is unique, else check if long name is used yo 2022-07-10 14:18:29 +02:00
  • 9b90f9c812 Use getJailFromArray so we can handle same name jails yo 2022-07-10 14:17:12 +02:00
  • e13437b79e Fix version display yo 2022-07-10 14:16:39 +02:00
  • 484e05e8d1 Use getJailFromArray so we can handle same name jails + check pertinence before jailing non existing DS yo 2022-07-10 14:16:24 +02:00
  • e7a6bdd376 Use getJailFromArray so we can handle same name jails yo 2022-07-10 14:15:26 +02:00
  • 170dce31b3 getJailFromArray now support long names yo 2022-07-10 14:15:02 +02:00
  • 1295fb86f6 Remove trailing \n yo 2022-07-10 14:14:32 +02:00
  • d3410c281a use getJailFromArray so we can handle same name jails on different DS yo 2022-07-10 14:14:12 +02:00
  • 51dc7d1588 BUGFIX: path to root dataset was wrong yo 2022-07-04 20:47:19 +02:00
  • 92d8beb58f Delete dynamic ruleset, obtained from /var/run/jail.$InternalName.conf yo 2022-06-26 20:03:08 +02:00
  • 745811c39b Version bump yo 2022-06-26 20:02:29 +02:00
  • 276d01ed4c VNet configuration, jail and mount ZFS datasets into jail yo 2022-06-26 20:02:28 +02:00
  • 7266496cac Memo for network configuration yo 2022-06-26 20:02:28 +02:00
  • 5b0de24508 executeCommand supports quoted arguments, getValueFromRunningConfig yo 2022-06-26 20:02:28 +02:00
  • 2a8836721c GetInterfaces, GetBridgeMTU yo 2022-06-26 20:02:22 +02:00
  • 0f6b7b8b80 Hide ifconfig destroy output yo 2022-06-19 19:45:36 +02:00
  • 1462c383d3 Cosmetic rearrangement yo 2022-06-19 19:45:07 +02:00
  • 29ce0d9b58 Cosmetic rearrangement yo 2022-06-19 19:44:40 +02:00
  • 42e1085ad4 Fix disableRcKey bug when key do not exist yo 2022-06-19 19:14:58 +02:00
  • 0f4f76a9a2 fix Error unmounting display bug, unconditionally unmount /dev & /dev/fd, remove parameter file yo 2022-06-19 19:14:11 +02:00
  • e87699e2dc executeScript function yo 2022-06-19 17:44:00 +02:00
  • 4d8bf6e0d5 executeScript function yo 2022-06-19 17:43:48 +02:00
  • d9e1e20afc WIP on start: Build parameter file yo 2022-06-19 14:48:55 +02:00
  • fcf7d68d06 Add FreeBSD version to JailHost struct yo 2022-06-19 13:55:41 +02:00
  • f919ff2ec3 Initialise gJailHost yo 2022-06-19 13:55:07 +02:00
  • 1bc248fdcc Add hostname, hostid and version initialisation with NewJailHost() yo 2022-06-19 13:51:57 +02:00
  • a7aaa11de6 Fix getJailFromArray: the returned reference was to a copy of the jail yo 2022-06-19 13:50:49 +02:00
  • 71f345dff4 temporary command to test code snippet yo 2022-06-18 20:09:32 +02:00
  • e1410bf209 create dynamic devfs ruleset from configured or default yo 2022-06-18 20:08:12 +02:00
  • c585678be9 create dynamic devfs ruleset from configured or default yo 2022-06-18 20:07:57 +02:00
  • 9218ffafe1 Add datastore to snapshots, force Datastore display when jail exist on multi datastores yo 2022-06-18 18:24:09 +02:00
  • 1c04f62ed8 Comments yo 2022-06-18 16:34:06 +02:00
  • 2151034a02 Fix migrate: use datastore.ZFSDataset for replication to dest yo 2022-06-18 16:24:53 +02:00
  • e84c43c759 little progress on start/build devfs ruleset yo 2022-06-18 16:10:10 +02:00
  • d4f6b9ddc7 Add datastore list, filter and sort yo 2022-06-18 16:09:38 +02:00
  • 86e08ec0f7 Add datastore list, filter and sort, add snapshot sorting yo 2022-06-18 16:09:22 +02:00
  • b4fd7caca7 Update readme yo 2022-06-18 16:07:29 +02:00
  • 29e8736fbc WIP on gocage start : dynamic devfs rulesets yo 2022-06-18 11:10:06 +02:00
  • 203c4bff3b Cosmetic yo 2022-06-18 11:09:40 +02:00
  • 7356c0d3d0 gocage migrate now synchronize destination dataset after stoppoing jail yo 2022-06-18 11:09:06 +02:00
  • a446a19a08 gocage console jailname now working yo 2022-06-18 11:08:03 +02:00
  • 0bf825ee5a WIP migration on running jail with minimized downtime yo 2022-06-05 18:43:02 +02:00
  • 542d2f96f6 zfsCopyIncremental to send/receive incremental snapshots yo 2022-06-05 18:42:20 +02:00
  • 6c6cb7edc8 Bugfix when "migrate clean" a jail which was already clean, code cleaning yo 2022-06-05 17:36:27 +02:00
  • 31fa6904db "gocage migrate jail -d destination_dataset" working for cold migrations yo 2022-06-05 14:10:07 +02:00
  • fb3ee07585 "gocage migrate jail -d destination_dataset" working for cold migrations yo 2022-06-05 14:09:55 +02:00
  • 57c8bba09b Do not support 2 jails with same name, only keep the first seen yo 2022-06-05 14:09:04 +02:00
  • 249ab19173 getJailFromArray use name instead of internalName yo 2022-06-05 11:20:16 +02:00
  • bc92f29900 executeCommand now returns stdout and stderr combined in output yo 2022-06-04 22:28:38 +02:00
  • e4fc9c3a6c Some code reorg yo 2022-04-24 16:55:33 +02:00
  • 43f26d099f WIP on start, go fmt on * yo 2022-04-24 16:49:54 +02:00
  • dbd9153513 Get default router and gateways, IPv4 & IPv6 yo 2022-04-18 13:53:18 +02:00
  • 7b5ae7ce6e start : Check if nat doesnt conflict with running jails, get default router yo 2022-04-18 13:52:44 +02:00
  • 77a2e9dabf cleanAfterRun renamed to WriteConfigToDisk, dont overwrite "auto" values by default yo 2022-04-18 13:50:20 +02:00
  • 6821b14407 BUGFIX : getJailConfig returns 2 values yo 2022-04-18 13:37:40 +02:00
  • f9ce3601df Convert setJailProperty to setStructFieldValue yo 2022-04-18 13:36:33 +02:00
  • 4f85f2e6ac WIP: checks before starting jail yo 2022-04-05 22:21:39 +02:00
  • e0f371693a Raise error if /etc/hostid not readable yo 2022-04-05 22:21:04 +02:00
  • 0f97270a6a BUGFIX on hostid reading : remove trailing \n yo 2022-04-05 21:43:11 +02:00
  • 7dbbf8a757 started working on "gocage console" yo 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 yo 2022-04-05 20:58:11 +02:00
  • 4aa1c81fea Create and delete snapshot OK + version bump to 0.25 v0.25 yo 2022-04-04 21:00:44 +02:00
  • 966a3d57c1 Correctly display multiple jails snapshots yo 2022-04-04 20:10:42 +02:00
  • a12c268be2 BUGFIX on snapshot name yo 2022-04-04 20:03:08 +02:00