From 82f1648f6bfaeee3128896844f61685da39c1746 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Sat, 1 Mar 2025 11:55:36 -0700 Subject: [PATCH] docs: Clean up migration chapter --- docs/chapters/migration.rst | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/docs/chapters/migration.rst b/docs/chapters/migration.rst index f297558b..5e5c4c76 100644 --- a/docs/chapters/migration.rst +++ b/docs/chapters/migration.rst @@ -1,3 +1,10 @@ +========= +Migration +========= + +iocage +------ + Stop the running jail and export it: .. code-block:: shell @@ -11,7 +18,7 @@ Move the backup files (.zip and .sha256) into Bastille backup dir (default: /usr mv /iocage/images/jailname_$(date +%F).* /usr/local/bastille/backups/ -for remote systems you could use rsync: +for remote systems you can use rsync: .. code-block:: shell @@ -24,13 +31,11 @@ Import the iocage backup file (use zip file name) bastille import jailname_$(date +%F).zip -Set your new ip address and interface: +Bastille will attempt to configure your interface and IP from the config.json file, but if you have issues you can configure it manully. .. code-block:: shell - vim /usr/local/bastille/jails/jailname/jail.conf - interface = bastille0; - ip4.addr = "192.168.0.1"; + bastille edit jailname + ip4.addr = bastille0|192.168.0.1/24; - -You can use you primary network interface instead of the virtual bastille0 interface as well if you know what you’re doing. +You can use your primary network interface instead of the virtual bastille0 interface as well if you know what you’re doing.