aboutsummaryrefslogtreecommitdiffstats
path: root/config/archive/jailctl/jailctl_settings.xml
diff options
context:
space:
mode:
Diffstat (limited to 'config/archive/jailctl/jailctl_settings.xml')
-rw-r--r--config/archive/jailctl/jailctl_settings.xml118
1 files changed, 118 insertions, 0 deletions
diff --git a/config/archive/jailctl/jailctl_settings.xml b/config/archive/jailctl/jailctl_settings.xml
new file mode 100644
index 00000000..ae09adaf
--- /dev/null
+++ b/config/archive/jailctl/jailctl_settings.xml
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE packagegui SYSTEM "./schema/packages.dtd">
+<?xml-stylesheet type="text/xsl" href="./xsl/package.xsl"?>
+<packagegui>
+ <description>Jail management</description>
+ <requirements>Built world in /usr/obj</requirements>
+ <faq>Currently there are no FAQ items provided.</faq>
+ <name>pfJailctl_Settings</name>
+ <version>0.1</version>
+ <title>Jails: Settings</title>
+ <!-- configpath gets expanded out automatically and config items will be
+ stored in that location -->
+ <configpath>['installedpackages']['$packagename']['config']</configpath>
+
+ <tabs>
+ <tab>
+ <text>Jails</text>
+ <url>/pkg.php?xml=jailctl.xml</url>
+ </tab>
+ <tab>
+ <text>Global settings</text>
+ <url>/pkg_edit.php?xml=jailctl_settings.xml&amp;id=0</url>
+ <active/>
+ </tab>
+<!-- <tab>
+ <text>Jail defaults</text>
+ <url>/pkg_edit.php?xml=jailctl_defaults.xml&amp;id=0</url>
+ </tab> -->
+ </tabs>
+
+ <fields>
+ <field>
+ <fielddescr>FTP mirror</fielddescr>
+ <fieldname>jftpmirror</fieldname>
+ <description>Select a FTP server (mirror) to use for sysinstall</description>
+ <type>select</type>
+ <options>
+ <option><name>ftp-archive.freebsd.org</name><value>ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/</value></option>
+ </options>
+ <default_value>ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/</default_value>
+ </field>
+ <field>
+ <fielddescr>DNS servers</fielddescr>
+ <description>DNS servers to be added to /etc/resolv.conf of jails, space separated IP addresses</description>
+ <fieldname>jdnsservers</fieldname>
+ <type>textarea</type>
+ </field>
+ <field>
+ <fielddescr>Location for jails</fielddescr>
+ <fieldname>jstorage</fieldname>
+ <description>Jails will be stored here</description>
+ <type>input</type>
+ <default>/usr/local/jails</default>
+ <default_value>/usr/local/jails</default_value>
+ </field>
+ <field>
+ <fielddescr>Location for jail backups</fielddescr>
+ <fieldname>jbackup</fieldname>
+ <description>Backups are .tgz files of the jail directory</description>
+ <type>input</type>
+ <default_value>/usr/local/jails</default_value>
+ </field>
+ <field>
+ <fielddescr>Files to exclude from backup</fielddescr>
+ <fieldname>jbackupexcludes</fieldname>
+ <description>Files to exclude from backup</description>
+ <type>input</type>
+ <default_value>--exclude ./usr/ports/* --exclude ./tmp/* --exclude ./var/tmp/* --exclude ./usr/src/*</default_value>
+ </field>
+ <field>
+ <fielddescr>System configuration</fielddescr>
+ <fieldname>jrcconf</fieldname>
+ <type>rowhelper</type>
+ <rowhelper>
+ <rowhelperfield>
+ <fielddescr>Lines to add to /etc/rc.conf</fielddescr>
+ <type>input</type>
+ <size>25</size>
+ <fieldname>rcconfline</fieldname>
+ </rowhelperfield>
+ </rowhelper>
+ </field>
+ <field>
+ <fielddescr>Default password for jails</fielddescr>
+ <fieldname>jpasswd</fieldname>
+ <description>Set to &quot;system&quot; by default.&lt;br&gt;
+ &lt;b&gt;NOTE: Only type here if you want to change the current default password!&lt;/b&gt;&lt;br&gt;
+ This field will show as empty even if a password has been set. Changing this will not affect existing jails.</description>
+ <type>password</type>
+ <default_value>system</default_value>
+ </field>
+ <field>
+ <fielddescr>Debug mode</fielddescr>
+ <fieldname>debug</fieldname>
+ <type>checkbox</type>
+ <description>Enable debug information do be shown by the GUI</description>
+ </field>
+
+ </fields>
+
+
+ <!-- php hooks -->
+ <include_file>/usr/local/pkg/jailctl.inc</include_file>
+ <custom_add_php_command>
+ sync_package_jailctl();
+ </custom_add_php_command>
+ <custom_delete_php_command>
+ sync_package_jailctl();
+ </custom_delete_php_command>
+ <custom_php_resync_config_command>
+ sync_package_jailctl();
+ </custom_php_resync_config_command>
+ <custom_php_install_command>
+ </custom_php_install_command>
+ <custom_php_deinstall_command>
+ </custom_php_deinstall_command>
+</packagegui>
+