AppFeed/templates/SpaceInvaderOnesRepository/spaceinvaderone/macinabox.xml
Squidly271 cf84f9a83e Update
2020-12-08 22:12:37 -05:00

244 lines
14 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<Container version="2">
<Name>macinabox</Name>
<Repository>spaceinvaderone/macinabox</Repository>
<Registry>https://hub.docker.com/r/spaceinvaderone/macinabox</Registry>
<Network>bridge</Network>
<Shell>sh</Shell>
<Privileged>true</Privileged>
<Support>https://forums.unraid.net/topic/84601-support-spaceinvaderone-macinabox/</Support>
<Project>https://github.com/SpaceinvaderOne/Macinabox</Project>
<Overview>This container can download and install a macOS VM. Either Big Sur, Catalina, Mojave or High Sierra. It will download the install media from Apple servers and convert it to a usable format for use for a VM.&#13;
It can autoinstall a macOS VM. Also it can prepare all files ready for a manual install if you prefer&#13;
Tools are also provided to fix the xml when the custom xml has been stripped out of the VM after its been edited by the Unraid VM manager.&#13;
&#13;
Usage&#13;
Operating System Version &#13;
Choose version from below&#13;
Catalina (default)&#13;
Big Sur&#13;
Mojave&#13;
High Sierra&#13;
VM Images Location: Location of your vm share ( default /mnt/user/domains/ )&#13;
Install Type &#13;
Auto install &#13;
This will download MacOS and install needed files into your VM location.&#13;
&#13;
Manual- install&#13;
This will download MacOS and put all needed files into correct place ready for easy manual install. &#13;
&#13;
Vdisksize the size you want your vdisk to be created&#13;
&#13;
Run Mode. &#13;
macinabox_with_virtmanager (run macinabox followed by virmanager)&#13;
virtmanager_only (run virmanger only -skips macinabox)&#13;
&#13;
Download Script:&#13;
Method 1 Default&#13;
Method 2 choose method 2 if first fails for some reason&#13;
&#13;
Isos Share Location This is where macinabox will put install media and Opencore bootloader&#13;
&#13;
Inject fix xml userscript: &#13;
no (default) The fixxml script placed in appdata for you to copy later to userscripts&#13;
yes Macinabox will try to copy the script and inject directly into userscript plugin location (userscript plugin must be installed)</Overview>
<WebUI>http://[IP]:[PORT:7800]</WebUI>
<TemplateURL>https://raw.githubusercontent.com/SpaceinvaderOne/Docker-Templates-Unraid/master/spaceinvaderone/macinabox.xml</TemplateURL>
<Icon>https://raw.githubusercontent.com/SpaceinvaderOne/Docker-Templates-Unraid/master/spaceinvaderone/docker_icons/Macinabox.png</Icon>
<PostArgs></PostArgs>
<CPUset></CPUset>
<DonateText>If you like this then please consider buying me a beer!! :D</DonateText>
<DonateLink>https://www.paypal.me/spaceinvader</DonateLink>
<Networking>
<Mode>bridge</Mode>
<Publish>
<Port>
<HostPort>7800</HostPort>
<ContainerPort>5800</ContainerPort>
<Protocol>tcp</Protocol>
</Port>
<Port>
<HostPort>7900</HostPort>
<ContainerPort>5900</ContainerPort>
<Protocol>tcp</Protocol>
</Port>
</Publish>
</Networking>
<Data>
<Volume>
<HostDir>/mnt/user/domains/</HostDir>
<ContainerDir>/domains</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir>/mnt/user/isos/</HostDir>
<ContainerDir>/isos</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir>/mnt/user/system/custom_ovmf/</HostDir>
<ContainerDir>/customovmf/</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir>/mnt/user/appdata/macinabox</HostDir>
<ContainerDir>/config</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir>/mnt/user/appdata/macinabox/macinabox</HostDir>
<ContainerDir>/config2</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir>/mnt/user/appdata/macinabox/basesystem</HostDir>
<ContainerDir>/Macinabox/tools/FetchMacOS/BaseSystem</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir>/boot/config/plugins/user.scripts/scripts</HostDir>
<ContainerDir>/userscripts</ContainerDir>
<Mode>rw</Mode>
</Volume>
<Volume>
<HostDir>/dev/urandom</HostDir>
<ContainerDir>/dev/urandom</ContainerDir>
<Mode>ro</Mode>
</Volume>
</Data>
<Environment>
<Variable>
<Value>Catalina</Value>
<Name>flavour</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>Auto install</Value>
<Name>vminstall</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>100G</Value>
<Name>vdisksize</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>/mnt/user/domains/</Value>
<Name>VMIMAGES</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>/mnt/user/isos/</Value>
<Name>ISOIMAGES</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>method 1</Value>
<Name>method</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>macinabox_with_virtmanager</Value>
<Name>onlyvirt</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>yes</Value>
<Name>injectfixxml</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>768</Value>
<Name>DISPLAY_HEIGHT</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>1280</Value>
<Name>DISPLAY_WIDTH</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>1</Value>
<Name>KEEP_APP_RUNNING</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>0</Value>
<Name>USER_ID</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>0</Value>
<Name>GROUP_ID</Name>
<Mode></Mode>
</Variable>
<Variable>
<Value>000</Value>
<Name>UMASK</Name>
<Mode></Mode>
</Variable>
</Environment>
<Config Name="Operating System Version" Target="flavour" Default="Catalina|Big Sur|Mojave|High Sierra" Mode="" Description="Choose macOS version to install " Type="Variable" Display="always" Required="true" Mask="false">Catalina</Config>
<Config Name="Install Type" Target="vminstall" Default="Auto install|Manual install" Mode="" Description="Auto install to install a vm directly into Unraid. Manual for advanced install" Type="Variable" Display="always" Required="true" Mask="false">Auto install</Config>
<Config Name="Vdisk Size" Target="vdisksize" Default="" Mode="" Description="Enter desired vdisk size (only used by auto install - ignored by manual install)" Type="Variable" Display="always" Required="true" Mask="false">100G</Config>
<Config Name="VM Images Location" Target="/domains" Default="/mnt/user/domains/" Mode="rw" Description="VM share. Used only by auto install to create vm xml" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/domains/</Config>
<Config Name="VM Images Location again" Target="VMIMAGES" Default="/mnt/user/domains/" Mode="" Description="This must match the above VM Images Location (yes we need it twice!)" Type="Variable" Display="always" Required="true" Mask="false">/mnt/user/domains/</Config>
<Config Name="Isos Share Location" Target="/isos" Default="/mnt/user/isos/" Mode="rw" Description="Your isos share path - macOS install and opencore bootloader will be put here. (used by auto and manual install)" Type="Path" Display="always" Required="true" Mask="false">/mnt/user/isos/</Config>
<Config Name="Isos Share Location again" Target="ISOIMAGES" Default="/mnt/user/isos/" Mode="" Description="This must match the above Isos Share Location (yes we need it twice!)" Type="Variable" Display="always" Required="true" Mask="false">/mnt/user/isos/</Config>
<Config Name="Download Method" Target="method" Default="method 1|method 2" Mode="" Description="2 different ways to get macos. Change to method 2 if method 1 doesnt work for you" Type="Variable" Display="always" Required="true" Mask="false">method 1</Config>
<Config Name="Run Mode" Target="onlyvirt" Default="macinabox_with_virtmanager|virtmanager_only" Mode="" Description="choose running mode" Type="Variable" Display="always" Required="true" Mask="false">macinabox_with_virtmanager</Config>
<Config Name="custom ovmf location" Target="/customovmf/" Default="/mnt/user/system/custom_ovmf/" Mode="rw" Description="dont change" Type="Path" Display="advanced" Required="true" Mask="false">/mnt/user/system/custom_ovmf/</Config>
<Config Name="appdata" Target="/config" Default="/mnt/user/appdata/macinabox" Mode="rw" Description="If you change this location be sure to change Macinabox only data &amp;amp; Baseimage location too." Type="Path" Display="advanced" Required="true" Mask="false">/mnt/user/appdata/macinabox</Config>
<Config Name="Macinabox only data" Target="/config2" Default="/mnt/user/appdata/macinabox/macinabox" Mode="rw" Description="Macinabox data as a subfolder of the main appdata&#13;&#10;" Type="Path" Display="advanced" Required="true" Mask="false">/mnt/user/appdata/macinabox/macinabox</Config>
<Config Name="Basesystem " Target="/Macinabox/tools/FetchMacOS/BaseSystem" Default="/mnt/user/appdata/macinabox/basesystem" Mode="rw" Description="Baseimage temporary location as a subfolder of appdata" Type="Path" Display="advanced" Required="true" Mask="false">/mnt/user/appdata/macinabox/basesystem</Config>
<Config Name="Inject fix xml userscript" Target="injectfixxml" Default="yes|no" Mode="" Description="Injects macinabox helper userscript directly into userscripts plugin " Type="Variable" Display="advanced" Required="true" Mask="false">yes</Config>
<Config Name="Userscripts Location" Target="/userscripts" Default="/boot/config/plugins/user.scripts/scripts" Mode="rw" Description="dont change this!" Type="Path" Display="advanced" Required="true" Mask="false">/boot/config/plugins/user.scripts/scripts</Config>
<Config Name="Display Height" Target="DISPLAY_HEIGHT" Default="768" Mode="" Description="Height (in pixels) of the virtmager's window." Type="Variable" Display="advanced" Required="true" Mask="false">768</Config>
<Config Name="Display Width" Target="DISPLAY_WIDTH" Default="1280" Mode="" Description="Width (in pixels) of the virtmanager's window." Type="Variable" Display="advanced" Required="true" Mask="false">1280</Config>
<Config Name="webvnc" Target="5800" Default="5800" Mode="tcp" Description="Virtmanager webvnc port" Type="Port" Display="advanced" Required="true" Mask="false">7800</Config>
<Config Name="vnc" Target="5900" Default="5900" Mode="tcp" Description="Virtmanger vnc port (if you want to use external vnc viewer programme)" Type="Port" Display="advanced" Required="false" Mask="false">7900</Config>
<Config Name="KEEP_APP_RUNNING" Target="KEEP_APP_RUNNING" Default="" Mode="" Description="Dont change !!" Type="Variable" Display="advanced" Required="true" Mask="false">1</Config>
<Config Name="/dev/urandom" Target="/dev/urandom" Default="/dev/urandom" Mode="ro" Description="Dont change !!" Type="Path" Display="advanced" Required="true" Mask="false">/dev/urandom</Config>
<Config Name="USER_ID" Target="USER_ID" Default="99" Mode="" Description="USER_ID" Type="Variable" Display="advanced" Required="false" Mask="false">0</Config>
<Config Name="GROUP_ID" Target="GROUP_ID" Default="0" Mode="" Description="GROUP_ID" Type="Variable" Display="advanced" Required="false" Mask="false">0</Config>
<Config Name="UMASK" Target="UMASK" Default="000" Mode="" Description="UMASK" Type="Variable" Display="advanced" Required="false" Mask="false">000</Config>
<Date>1607478105</Date>
<Category>Tools:Utilities</Category>
<Description>This container can download and install a macOS VM. Either Big Sur, Catalina, Mojave or High Sierra. It will download the install media from Apple servers and convert it to a usable format for use for a VM.&#13;
It can autoinstall a macOS VM. Also it can prepare all files ready for a manual install if you prefer&#13;
Tools are also provided to fix the xml when the custom xml has been stripped out of the VM after its been edited by the Unraid VM manager.&#13;
&#13;
Usage&#13;
Operating System Version &#13;
Choose version from below&#13;
Catalina (default)&#13;
Big Sur&#13;
Mojave&#13;
High Sierra&#13;
VM Images Location: Location of your vm share ( default /mnt/user/domains/ )&#13;
Install Type &#13;
Auto install &#13;
This will download MacOS and install needed files into your VM location.&#13;
&#13;
Manual- install&#13;
This will download MacOS and put all needed files into correct place ready for easy manual install. &#13;
&#13;
Vdisksize the size you want your vdisk to be created&#13;
&#13;
Run Mode. &#13;
macinabox_with_virtmanager (run macinabox followed by virmanager)&#13;
virtmanager_only (run virmanger only -skips macinabox)&#13;
&#13;
Download Script:&#13;
Method 1 Default&#13;
Method 2 choose method 2 if first fails for some reason&#13;
&#13;
Isos Share Location This is where macinabox will put install media and Opencore bootloader&#13;
&#13;
Inject fix xml userscript: &#13;
no (default) The fixxml script placed in appdata for you to copy later to userscripts&#13;
yes Macinabox will try to copy the script and inject directly into userscript plugin location (userscript plugin must be installed)</Description>
<MinVer>6.7.0</MinVer>
<templatePath>/tmp/GitHub/AppFeed/templates/SpaceInvaderOnesRepository/spaceinvaderone/macinabox.xml</templatePath>
</Container>