<h1>pylorax package<aclass="headerlink"href="#pylorax-package"title="Permalink to this headline">¶</a></h1>
<divclass="section"id="submodules">
<h2>Submodules<aclass="headerlink"href="#submodules"title="Permalink to this headline">¶</a></h2>
</div>
<divclass="section"id="module-pylorax.base">
<spanid="pylorax-base-module"></span><h2>pylorax.base module<aclass="headerlink"href="#module-pylorax.base"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">pylorax.base.</code><codeclass="sig-name descname">BaseLoraxClass</code><aclass="reference internal"href="_modules/pylorax/base.html#BaseLoraxClass"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.base.BaseLoraxClass"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">pcritical</code><spanclass="sig-paren">(</span><emclass="sig-param">msg</em>, <emclass="sig-param">fobj=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/base.html#BaseLoraxClass.pcritical"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.base.BaseLoraxClass.pcritical"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">pdebug</code><spanclass="sig-paren">(</span><emclass="sig-param">msg</em>, <emclass="sig-param">fobj=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/base.html#BaseLoraxClass.pdebug"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.base.BaseLoraxClass.pdebug"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">perror</code><spanclass="sig-paren">(</span><emclass="sig-param">msg</em>, <emclass="sig-param">fobj=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/base.html#BaseLoraxClass.perror"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.base.BaseLoraxClass.perror"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">pinfo</code><spanclass="sig-paren">(</span><emclass="sig-param">msg</em>, <emclass="sig-param">fobj=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/base.html#BaseLoraxClass.pinfo"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.base.BaseLoraxClass.pinfo"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">pwarning</code><spanclass="sig-paren">(</span><emclass="sig-param">msg</em>, <emclass="sig-param">fobj=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/base.html#BaseLoraxClass.pwarning"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.base.BaseLoraxClass.pwarning"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">pylorax.base.</code><codeclass="sig-name descname">DataHolder</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/base.html#DataHolder"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.base.DataHolder"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">copy</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span>→ a shallow copy of D<aclass="reference internal"href="_modules/pylorax/base.html#DataHolder.copy"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.base.DataHolder.copy"title="Permalink to this definition">¶</a></dt>
<spanid="pylorax-buildstamp-module"></span><h2>pylorax.buildstamp module<aclass="headerlink"href="#module-pylorax.buildstamp"title="Permalink to this headline">¶</a></h2>
<codeclass="sig-name descname">write</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">outfile</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/buildstamp.html#BuildStamp.write"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.buildstamp.BuildStamp.write"title="Permalink to this definition">¶</a></dt>
<spanid="pylorax-cmdline-module"></span><h2>pylorax.cmdline module<aclass="headerlink"href="#module-pylorax.cmdline"title="Permalink to this headline">¶</a></h2>
<codeclass="sig-prename descclassname">pylorax.cmdline.</code><codeclass="sig-name descname">lmc_parser</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">dracut_default</span><spanclass="o">=</span><spanclass="default_value">''</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/cmdline.html#lmc_parser"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.cmdline.lmc_parser"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.cmdline.</code><codeclass="sig-name descname">lorax_parser</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">dracut_default</span><spanclass="o">=</span><spanclass="default_value">''</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/cmdline.html#lorax_parser"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.cmdline.lorax_parser"title="Permalink to this definition">¶</a></dt>
<spanid="pylorax-creator-module"></span><h2>pylorax.creator module<aclass="headerlink"href="#module-pylorax.creator"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">pylorax.creator.</code><codeclass="sig-name descname">FakeDNF</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">conf</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#FakeDNF"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.creator.FakeDNF"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">reset</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#FakeDNF.reset"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.creator.FakeDNF.reset"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.creator.</code><codeclass="sig-name descname">calculate_disk_size</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">opts</span></em>, <emclass="sig-param"><spanclass="n">ks</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#calculate_disk_size"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.creator.calculate_disk_size"title="Permalink to this definition">¶</a></dt>
<li><p><strong>ks</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Path to the kickstart to use for the installation</p></li>
<codeclass="sig-prename descclassname">pylorax.creator.</code><codeclass="sig-name descname">check_kickstart</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">ks</span></em>, <emclass="sig-param"><spanclass="n">opts</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#check_kickstart"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.creator.check_kickstart"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.creator.</code><codeclass="sig-name descname">create_pxe_config</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">template</span></em>, <emclass="sig-param"><spanclass="n">images_dir</span></em>, <emclass="sig-param"><spanclass="n">live_image_name</span></em>, <emclass="sig-param"><spanclass="n">add_args</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#create_pxe_config"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.creator.create_pxe_config"title="Permalink to this definition">¶</a></dt>
<li><p><strong>images_dir</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Path of directory with images to be used</p></li>
<li><p><strong>live_image_name</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Name of live rootfs image file</p></li>
<li><p><strong>add_args</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#list"title="(in Python v3.8)"><em>list</em></a>) -- Arguments to be added to initrd= pxe config</p></li>
<codeclass="sig-prename descclassname">pylorax.creator.</code><codeclass="sig-name descname">dracut_args</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">opts</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#dracut_args"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.creator.dracut_args"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.creator.</code><codeclass="sig-name descname">find_ostree_root</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">phys_root</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#find_ostree_root"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.creator.find_ostree_root"title="Permalink to this definition">¶</a></dt>
<ddclass="field-even"><p><aclass="reference external"href="https://docs.python.org/3/library/exceptions.html#Exception"title="(in Python v3.8)"><strong>Exception</strong></a> -- More than one deployment roots were found</p>
<codeclass="sig-prename descclassname">pylorax.creator.</code><codeclass="sig-name descname">get_arch</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">mount_dir</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#get_arch"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.creator.get_arch"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.creator.</code><codeclass="sig-name descname">is_image_mounted</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">disk_img</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#is_image_mounted"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.creator.is_image_mounted"title="Permalink to this definition">¶</a></dt>
<li><p><strong>disk_img</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Full path of the disk image</p></li>
<li><p><strong>name</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Name of the appliance, passed to the template</p></li>
<li><p><strong>template</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Full path of Mako template</p></li>
<li><p><strong>outfile</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Full path of file to write, using template</p></li>
<li><p><strong>networks</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#list"title="(in Python v3.8)"><em>list</em></a>) -- List of networks(str) from the kickstart</p></li>
<li><p><strong>ram</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.8)"><em>int</em></a>) -- Ram, in MiB, passed to template. Default is 1024</p></li>
<li><p><strong>vcpus</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.8)"><em>int</em></a>) -- CPUs, passed to template. Default is 1</p></li>
<li><p><strong>arch</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- CPU architecture. Default is 'x86_64'</p></li>
<li><p><strong>title</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Title, passed to template. Default is 'Linux'</p></li>
<li><p><strong>project</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Project, passed to template. Default is 'Linux'</p></li>
<codeclass="sig-prename descclassname">pylorax.creator.</code><codeclass="sig-name descname">make_image</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">opts</span></em>, <emclass="sig-param"><spanclass="n">ks</span></em>, <emclass="sig-param"><spanclass="n">cancel_func</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#make_image"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.creator.make_image"title="Permalink to this definition">¶</a></dt>
<li><p><strong>ks</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Path to the kickstart to use for the installation</p></li>
<codeclass="sig-prename descclassname">pylorax.creator.</code><codeclass="sig-name descname">make_live_images</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">opts</span></em>, <emclass="sig-param"><spanclass="n">work_dir</span></em>, <emclass="sig-param"><spanclass="n">disk_img</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#make_live_images"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.creator.make_live_images"title="Permalink to this definition">¶</a></dt>
<li><p><strong>work_dir</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Directory for storing results</p></li>
<li><p><strong>disk_img</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Path to disk image (fsimage or partitioned)</p></li>
<codeclass="sig-prename descclassname">pylorax.creator.</code><codeclass="sig-name descname">make_livecd</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">opts</span></em>, <emclass="sig-param"><spanclass="n">mount_dir</span></em>, <emclass="sig-param"><spanclass="n">work_dir</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#make_livecd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.creator.make_livecd"title="Permalink to this definition">¶</a></dt>
<li><p><strong>mount_dir</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Directory tree to compress</p></li>
<codeclass="sig-prename descclassname">pylorax.creator.</code><codeclass="sig-name descname">make_runtime</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">opts</span></em>, <emclass="sig-param"><spanclass="n">mount_dir</span></em>, <emclass="sig-param"><spanclass="n">work_dir</span></em>, <emclass="sig-param"><spanclass="n">size</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#make_runtime"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.creator.make_runtime"title="Permalink to this definition">¶</a></dt>
<li><p><strong>mount_dir</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Directory tree to compress</p></li>
<li><p><strong>size</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.8)"><em>int</em></a>) -- Size of disk image, in GiB</p></li>
<codeclass="sig-prename descclassname">pylorax.creator.</code><codeclass="sig-name descname">mount_boot_part_over_root</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">img_mount</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#mount_boot_part_over_root"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.creator.mount_boot_part_over_root"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.creator.</code><codeclass="sig-name descname">rebuild_initrds_for_live</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">opts</span></em>, <emclass="sig-param"><spanclass="n">sys_root_dir</span></em>, <emclass="sig-param"><spanclass="n">results_dir</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#rebuild_initrds_for_live"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.creator.rebuild_initrds_for_live"title="Permalink to this definition">¶</a></dt>
<li><p><strong>sys_root_dir</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Path to root of the system</p></li>
<li><p><strong>results_dir</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Path of directory for storing results</p></li>
<codeclass="sig-prename descclassname">pylorax.creator.</code><codeclass="sig-name descname">run_creator</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">opts</span></em>, <emclass="sig-param"><spanclass="n">cancel_func</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#run_creator"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.creator.run_creator"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.creator.</code><codeclass="sig-name descname">squashfs_args</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">opts</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#squashfs_args"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.creator.squashfs_args"title="Permalink to this definition">¶</a></dt>
<spanid="pylorax-decorators-module"></span><h2>pylorax.decorators module<aclass="headerlink"href="#module-pylorax.decorators"title="Permalink to this headline">¶</a></h2>
<codeclass="sig-prename descclassname">pylorax.decorators.</code><codeclass="sig-name descname">singleton</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">cls</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/decorators.html#singleton"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.decorators.singleton"title="Permalink to this definition">¶</a></dt>
<spanid="pylorax-discinfo-module"></span><h2>pylorax.discinfo module<aclass="headerlink"href="#module-pylorax.discinfo"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">pylorax.discinfo.</code><codeclass="sig-name descname">DiscInfo</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">release</span></em>, <emclass="sig-param"><spanclass="n">basearch</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/discinfo.html#DiscInfo"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.discinfo.DiscInfo"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">write</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">outfile</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/discinfo.html#DiscInfo.write"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.discinfo.DiscInfo.write"title="Permalink to this definition">¶</a></dt>
<spanid="pylorax-dnfbase-module"></span><h2>pylorax.dnfbase module<aclass="headerlink"href="#module-pylorax.dnfbase"title="Permalink to this headline">¶</a></h2>
<li><p><strong>sources</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#list"title="(in Python v3.8)"><em>list</em></a>) -- List of source repo urls to use for the installation</p></li>
<li><p><strong>enablerepos</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#list"title="(in Python v3.8)"><em>list</em></a>) -- List of repo names to enable</p></li>
<li><p><strong>disablerepos</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#list"title="(in Python v3.8)"><em>list</em></a>) -- List of repo names to disable</p></li>
<li><p><strong>mirrorlist</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#list"title="(in Python v3.8)"><em>list</em></a>) -- List of mirrors to use</p></li>
<li><p><strong>noverifyssl</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#bool"title="(in Python v3.8)"><em>bool</em></a>) -- Set to True to ignore the CA of ssl certs. eg. use self-signed ssl for https repos.</p></li>
<spanid="pylorax-dnfhelper-module"></span><h2>pylorax.dnfhelper module<aclass="headerlink"href="#module-pylorax.dnfhelper"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">pylorax.dnfhelper.</code><codeclass="sig-name descname">LoraxDownloadCallback</code><aclass="reference internal"href="_modules/pylorax/dnfhelper.html#LoraxDownloadCallback"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.dnfhelper.LoraxDownloadCallback"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">end</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">payload</span></em>, <emclass="sig-param"><spanclass="n">status</span></em>, <emclass="sig-param"><spanclass="n">msg</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/dnfhelper.html#LoraxDownloadCallback.end"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.dnfhelper.LoraxDownloadCallback.end"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">progress</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">payload</span></em>, <emclass="sig-param"><spanclass="n">done</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/dnfhelper.html#LoraxDownloadCallback.progress"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.dnfhelper.LoraxDownloadCallback.progress"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">start</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">total_files</span></em>, <emclass="sig-param"><spanclass="n">total_size</span></em>, <emclass="sig-param"><spanclass="n">total_drpms</span><spanclass="o">=</span><spanclass="default_value">0</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/dnfhelper.html#LoraxDownloadCallback.start"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.dnfhelper.LoraxDownloadCallback.start"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">pylorax.dnfhelper.</code><codeclass="sig-name descname">LoraxRpmCallback</code><aclass="reference internal"href="_modules/pylorax/dnfhelper.html#LoraxRpmCallback"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.dnfhelper.LoraxRpmCallback"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">error</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">message</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/dnfhelper.html#LoraxRpmCallback.error"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.dnfhelper.LoraxRpmCallback.error"title="Permalink to this definition">¶</a></dt>
<spanid="pylorax-executils-module"></span><h2>pylorax.executils module<aclass="headerlink"href="#module-pylorax.executils"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">pylorax.executils.</code><codeclass="sig-name descname">ExecProduct</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">rc</span></em>, <emclass="sig-param"><spanclass="n">stdout</span></em>, <emclass="sig-param"><spanclass="n">stderr</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/executils.html#ExecProduct"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.executils.ExecProduct"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.executils.</code><codeclass="sig-name descname">augmentEnv</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/executils.html#augmentEnv"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.executils.augmentEnv"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.executils.</code><codeclass="sig-name descname">runcmd</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">cmd</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/executils.html#runcmd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.executils.runcmd"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.executils.</code><codeclass="sig-name descname">runcmd_output</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">cmd</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/executils.html#runcmd_output"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.executils.runcmd_output"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.executils.</code><codeclass="sig-name descname">setenv</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">name</span></em>, <emclass="sig-param"><spanclass="n">value</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/executils.html#setenv"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.executils.setenv"title="Permalink to this definition">¶</a></dt>
<li><p><strong>name</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- The name of the environment variable</p></li>
<li><p><strong>value</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- The value of the environment variable</p></li>
<spanid="pylorax-imgutils-module"></span><h2>pylorax.imgutils module<aclass="headerlink"href="#module-pylorax.imgutils"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">DMDev</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">dev</span></em>, <emclass="sig-param"><spanclass="n">size</span></em>, <emclass="sig-param"><spanclass="n">name</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#DMDev"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.DMDev"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">LoopDev</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">filename</span></em>, <emclass="sig-param"><spanclass="n">size</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#LoopDev"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.LoopDev"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">Mount</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">dev</span></em>, <emclass="sig-param"><spanclass="n">opts</span><spanclass="o">=</span><spanclass="default_value">''</span></em>, <emclass="sig-param"><spanclass="n">mnt</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#Mount"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.Mount"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">PartitionMount</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">disk_img</span></em>, <emclass="sig-param"><spanclass="n">mount_ok</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">submount</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#PartitionMount"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.PartitionMount"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">copytree</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">src</span></em>, <emclass="sig-param"><spanclass="n">dest</span></em>, <emclass="sig-param"><spanclass="n">preserve</span><spanclass="o">=</span><spanclass="default_value">True</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#copytree"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.copytree"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">default_image_name</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">compression</span></em>, <emclass="sig-param"><spanclass="n">basename</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#default_image_name"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.default_image_name"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">dm_attach</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">dev</span></em>, <emclass="sig-param"><spanclass="n">size</span></em>, <emclass="sig-param"><spanclass="n">name</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#dm_attach"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.dm_attach"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">dm_detach</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">dev</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#dm_detach"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.dm_detach"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">do_grafts</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">grafts</span></em>, <emclass="sig-param"><spanclass="n">dest</span></em>, <emclass="sig-param"><spanclass="n">preserve</span><spanclass="o">=</span><spanclass="default_value">True</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#do_grafts"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.do_grafts"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">get_loop_name</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">path</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#get_loop_name"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.get_loop_name"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">kpartx_disk_img</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">disk_img</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#kpartx_disk_img"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.kpartx_disk_img"title="Permalink to this definition">¶</a></dt>
<ddclass="field-odd"><p><strong>disk_img</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- The full path to a partitioned disk image</p>
<codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">loop_attach</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">outfile</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#loop_attach"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.loop_attach"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">loop_detach</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">loopdev</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#loop_detach"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.loop_detach"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">loop_waitfor</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">loop_dev</span></em>, <emclass="sig-param"><spanclass="n">outfile</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#loop_waitfor"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.loop_waitfor"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">mkcpio</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">root</span></em>, <emclass="sig-param"><spanclass="n">outfile</span></em>, <emclass="sig-param"><spanclass="n">compression</span><spanclass="o">=</span><spanclass="default_value">'xz'</span></em>, <emclass="sig-param"><spanclass="n">compressargs</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#mkcpio"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.mkcpio"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">mkfsimage_from_disk</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">diskimage</span></em>, <emclass="sig-param"><spanclass="n">fsimage</span></em>, <emclass="sig-param"><spanclass="n">img_size</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">label</span><spanclass="o">=</span><spanclass="default_value">'Anaconda'</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#mkfsimage_from_disk"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.mkfsimage_from_disk"title="Permalink to this definition">¶</a></dt>
<li><p><strong>diskimage</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- The full path to partitioned disk image with a /</p></li>
<li><p><strong>fsimage</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- The full path of the output fs image file</p></li>
<li><p><strong>img_size</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.8)"><em>int</em></a>) -- Optional size of the fsimage in MiB or None to make
<li><p><strong>label</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- The label to apply to the image. Defaults to "Anaconda"</p></li>
<codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">mkqcow2</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">outfile</span></em>, <emclass="sig-param"><spanclass="n">size</span></em>, <emclass="sig-param"><spanclass="n">options</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#mkqcow2"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.mkqcow2"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">mkqemu_img</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">outfile</span></em>, <emclass="sig-param"><spanclass="n">size</span></em>, <emclass="sig-param"><spanclass="n">options</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#mkqemu_img"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.mkqemu_img"title="Permalink to this definition">¶</a></dt>
<li><p><strong>size</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.8)"><em>int</em></a>) -- Size of the image in GiB, if None computed automatically</p></li>
<li><p><strong>sysroot</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- path to system (deployment) root relative to physical root</p></li>
<codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">mksparse</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">outfile</span></em>, <emclass="sig-param"><spanclass="n">size</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#mksparse"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.mksparse"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">mksquashfs</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">rootdir</span></em>, <emclass="sig-param"><spanclass="n">outfile</span></em>, <emclass="sig-param"><spanclass="n">compression</span><spanclass="o">=</span><spanclass="default_value">'default'</span></em>, <emclass="sig-param"><spanclass="n">compressargs</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#mksquashfs"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.mksquashfs"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">mount</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">dev</span></em>, <emclass="sig-param"><spanclass="n">opts</span><spanclass="o">=</span><spanclass="default_value">''</span></em>, <emclass="sig-param"><spanclass="n">mnt</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#mount"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.mount"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.imgutils.</code><codeclass="sig-name descname">round_to_blocks</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">size</span></em>, <emclass="sig-param"><spanclass="n">blocksize</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#round_to_blocks"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.imgutils.round_to_blocks"title="Permalink to this definition">¶</a></dt>
<spanid="pylorax-installer-module"></span><h2>pylorax.installer module<aclass="headerlink"href="#module-pylorax.installer"title="Permalink to this headline">¶</a></h2>
<emclass="property">exception </em><codeclass="sig-prename descclassname">pylorax.installer.</code><codeclass="sig-name descname">InstallError</code><aclass="reference internal"href="_modules/pylorax/installer.html#InstallError"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.installer.InstallError"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.installer.</code><codeclass="sig-name descname">anaconda_cleanup</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">dirinstall_path</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/installer.html#anaconda_cleanup"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.installer.anaconda_cleanup"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.installer.</code><codeclass="sig-name descname">append_initrd</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">initrd</span></em>, <emclass="sig-param"><spanclass="n">files</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/installer.html#append_initrd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.installer.append_initrd"title="Permalink to this definition">¶</a></dt>
<li><p><strong>initrd</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Path to initrd</p></li>
<li><p><strong>files</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#list"title="(in Python v3.8)"><em>list</em></a>) -- list of file paths to add</p></li>
<codeclass="sig-prename descclassname">pylorax.installer.</code><codeclass="sig-name descname">create_vagrant_metadata</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">path</span></em>, <emclass="sig-param"><spanclass="n">size</span><spanclass="o">=</span><spanclass="default_value">0</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/installer.html#create_vagrant_metadata"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.installer.create_vagrant_metadata"title="Permalink to this definition">¶</a></dt>
<li><p><strong>path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Path to metadata.json file</p></li>
<li><p><strong>size</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.8)"><em>int</em></a>) -- Disk size in MiB</p></li>
<codeclass="sig-prename descclassname">pylorax.installer.</code><codeclass="sig-name descname">find_free_port</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">start</span><spanclass="o">=</span><spanclass="default_value">5900</span></em>, <emclass="sig-param"><spanclass="n">end</span><spanclass="o">=</span><spanclass="default_value">5999</span></em>, <emclass="sig-param"><spanclass="n">host</span><spanclass="o">=</span><spanclass="default_value">'127.0.0.1'</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/installer.html#find_free_port"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.installer.find_free_port"title="Permalink to this definition">¶</a></dt>
<li><p><strong>start</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.8)"><em>int</em></a>) -- Starting port number</p></li>
<li><p><strong>end</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.8)"><em>int</em></a>) -- Ending port number</p></li>
<li><p><strong>host</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Host IP to search</p></li>
<codeclass="sig-prename descclassname">pylorax.installer.</code><codeclass="sig-name descname">novirt_cancel_check</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">cancel_funcs</span></em>, <emclass="sig-param"><spanclass="n">proc</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/installer.html#novirt_cancel_check"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.installer.novirt_cancel_check"title="Permalink to this definition">¶</a></dt>
<li><p><strong>cancel_funcs</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#list"title="(in Python v3.8)"><em>list</em></a>) -- list of functions to call, True from any one cancels the build</p></li>
<li><p><strong>proc</strong> (<aclass="reference external"href="https://docs.python.org/3/library/subprocess.html#subprocess.Popen"title="(in Python v3.8)"><em>subprocess.Popen</em></a>) -- Popen object for the anaconda process</p></li>
<li><p><strong>disk_img</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- The full path to the disk image to be created</p></li>
<li><p><strong>disk_size</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.8)"><em>int</em></a>) -- The size of the disk_img in MiB</p></li>
<li><p><strong>tar_img</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- For make_tar_disk, the path to final tarball to be created</p></li>
<codeclass="sig-prename descclassname">pylorax.installer.</code><codeclass="sig-name descname">update_vagrant_metadata</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">path</span></em>, <emclass="sig-param"><spanclass="n">size</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/installer.html#update_vagrant_metadata"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.installer.update_vagrant_metadata"title="Permalink to this definition">¶</a></dt>
<li><p><strong>path</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Path to metadata.json file</p></li>
<li><p><strong>size</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.8)"><em>int</em></a>) -- Disk size in MiB</p></li>
<li><p><strong>install_log</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- The path to write the log from qemu</p></li>
<li><p><strong>disk_img</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- The full path to the disk image to be created</p></li>
<li><p><strong>disk_size</strong> (<aclass="reference external"href="https://docs.python.org/3/library/functions.html#int"title="(in Python v3.8)"><em>int</em></a>) -- The size of the disk_img in MiB</p></li>
<li><p><strong>tar_img</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- For make_tar_disk, the path to final tarball to be created</p></li>
<spanid="pylorax-ltmpl-module"></span><h2>pylorax.ltmpl module<aclass="headerlink"href="#module-pylorax.ltmpl"title="Permalink to this headline">¶</a></h2>
<codeclass="sig-name descname">installpkg</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">*</span><spanclass="n">pkgs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LiveTemplateRunner.installpkg"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LiveTemplateRunner.installpkg"title="Permalink to this definition">¶</a></dt>
<dt>installpkg [--required|--optional] [--except PKGGLOB [--except PKGGLOB ...]] PKGGLOB [PKGGLOB ...]</dt><dd><p>Request installation of all packages matching the given globs.
Note that this is just a <em>request</em> - nothing is <em>actually</em> installed
until the 'run_pkg_transaction' command is given.</p>
<p>--required is now the default. If the PKGGLOB can be missing pass --optional</p>
<emclass="property">class </em><codeclass="sig-prename descclassname">pylorax.ltmpl.</code><codeclass="sig-name descname">LoraxTemplate</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">directories</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplate"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplate"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">parse</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">template_file</span></em>, <emclass="sig-param"><spanclass="n">variables</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplate.parse"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplate.parse"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">append</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">filename</span></em>, <emclass="sig-param"><spanclass="n">data</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.append"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.append"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">chmod</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">fileglob</span></em>, <emclass="sig-param"><spanclass="n">mode</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.chmod"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.chmod"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">copy</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">src</span></em>, <emclass="sig-param"><spanclass="n">dest</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.copy"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.copy"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">createaddrsize</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">addr</span></em>, <emclass="sig-param"><spanclass="n">src</span></em>, <emclass="sig-param"><spanclass="n">dest</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.createaddrsize"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.createaddrsize"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">hardlink</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">src</span></em>, <emclass="sig-param"><spanclass="n">dest</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.hardlink"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.hardlink"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">install</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">srcglob</span></em>, <emclass="sig-param"><spanclass="n">dest</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.install"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.install"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">installimg</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">*</span><spanclass="n">args</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.installimg"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.installimg"title="Permalink to this definition">¶</a></dt>
<dt>installimg [--xz|--gzip|--bzip2|--lzma] [-ARG|--ARG=OPTION] SRCDIR DESTFILE</dt><dd><p>Create a compressed cpio archive of the contents of SRCDIR and place
<codeclass="sig-name descname">installinitrd</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">section</span></em>, <emclass="sig-param"><spanclass="n">src</span></em>, <emclass="sig-param"><spanclass="n">dest</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.installinitrd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.installinitrd"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">installkernel</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">section</span></em>, <emclass="sig-param"><spanclass="n">src</span></em>, <emclass="sig-param"><spanclass="n">dest</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.installkernel"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.installkernel"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">installpkg</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">*</span><spanclass="n">pkgs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.installpkg"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.installpkg"title="Permalink to this definition">¶</a></dt>
<dt>installpkg [--required|--optional] [--except PKGGLOB [--except PKGGLOB ...]] PKGGLOB [PKGGLOB ...]</dt><dd><p>Request installation of all packages matching the given globs.
<codeclass="sig-name descname">installupgradeinitrd</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">section</span></em>, <emclass="sig-param"><spanclass="n">src</span></em>, <emclass="sig-param"><spanclass="n">dest</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.installupgradeinitrd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.installupgradeinitrd"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">log</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">msg</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.log"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.log"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">mkdir</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">*</span><spanclass="n">dirs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.mkdir"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.mkdir"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">move</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">src</span></em>, <emclass="sig-param"><spanclass="n">dest</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.move"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.move"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">remove</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">*</span><spanclass="n">fileglobs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.remove"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.remove"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">removefrom</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">pkg</span></em>, <emclass="sig-param"><spanclass="o">*</span><spanclass="n">globs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.removefrom"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.removefrom"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">removekmod</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">*</span><spanclass="n">globs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.removekmod"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.removekmod"title="Permalink to this definition">¶</a></dt>
<dt>removekmod GLOB [GLOB...] [--allbut] KEEPGLOB [KEEPGLOB...]</dt><dd><p>Remove all files and directories matching the given file globs from the kernel
<codeclass="sig-name descname">removepkg</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">*</span><spanclass="n">pkgs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.removepkg"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.removepkg"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">replace</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">pat</span></em>, <emclass="sig-param"><spanclass="n">repl</span></em>, <emclass="sig-param"><spanclass="o">*</span><spanclass="n">fileglobs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.replace"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.replace"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">run_pkg_transaction</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.run_pkg_transaction"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.run_pkg_transaction"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">runcmd</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">*</span><spanclass="n">cmdlist</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.runcmd"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.runcmd"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">symlink</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">target</span></em>, <emclass="sig-param"><spanclass="n">dest</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.symlink"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.symlink"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">systemctl</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">cmd</span></em>, <emclass="sig-param"><spanclass="o">*</span><spanclass="n">units</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.systemctl"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.systemctl"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">treeinfo</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">section</span></em>, <emclass="sig-param"><spanclass="n">key</span></em>, <emclass="sig-param"><spanclass="o">*</span><spanclass="n">valuetoks</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.treeinfo"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.treeinfo"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">run</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">templatefile</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">variables</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#TemplateRunner.run"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.TemplateRunner.run"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.ltmpl.</code><codeclass="sig-name descname">brace_expand</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">s</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#brace_expand"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.brace_expand"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.ltmpl.</code><codeclass="sig-name descname">rexists</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">pathname</span></em>, <emclass="sig-param"><spanclass="n">root</span><spanclass="o">=</span><spanclass="default_value">''</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#rexists"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.rexists"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.ltmpl.</code><codeclass="sig-name descname">rglob</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">pathname</span></em>, <emclass="sig-param"><spanclass="n">root</span><spanclass="o">=</span><spanclass="default_value">'/'</span></em>, <emclass="sig-param"><spanclass="n">fatal</span><spanclass="o">=</span><spanclass="default_value">False</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#rglob"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.rglob"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.ltmpl.</code><codeclass="sig-name descname">split_and_expand</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">line</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#split_and_expand"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ltmpl.split_and_expand"title="Permalink to this definition">¶</a></dt>
<spanid="pylorax-monitor-module"></span><h2>pylorax.monitor module<aclass="headerlink"href="#module-pylorax.monitor"title="Permalink to this headline">¶</a></h2>
<codeclass="sig-name descname">shutdown</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/monitor.html#LogMonitor.shutdown"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.monitor.LogMonitor.shutdown"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">pylorax.monitor.</code><codeclass="sig-name descname">LogRequestHandler</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">request</span></em>, <emclass="sig-param"><spanclass="n">client_address</span></em>, <emclass="sig-param"><spanclass="n">server</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/monitor.html#LogRequestHandler"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.monitor.LogRequestHandler"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">finish</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/monitor.html#LogRequestHandler.finish"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.monitor.LogRequestHandler.finish"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">handle</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/monitor.html#LogRequestHandler.handle"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.monitor.LogRequestHandler.handle"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">iserror</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">line</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/monitor.html#LogRequestHandler.iserror"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.monitor.LogRequestHandler.iserror"title="Permalink to this definition">¶</a></dt>
<ddclass="field-odd"><p><strong>line</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- log line to check for failure</p>
<codeclass="sig-name descname">re_tests</code><emclass="property"> = ['packaging: base repo .* not valid', 'packaging: .* requires .*']</em><aclass="headerlink"href="#pylorax.monitor.LogRequestHandler.re_tests"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">setup</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/monitor.html#LogRequestHandler.setup"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.monitor.LogRequestHandler.setup"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">simple_tests</code><emclass="property"> = ['Traceback (', 'traceback script(s) have been run', 'Out of memory:', 'Call Trace:', 'insufficient disk space:', 'Not enough disk space to download the packages', 'error populating transaction after', 'crashed on signal', 'packaging: Missed: NoSuchPackage', 'packaging: Installation failed', 'The following error occurred while installing. This is a fatal error']</em><aclass="headerlink"href="#pylorax.monitor.LogRequestHandler.simple_tests"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">pylorax.monitor.</code><codeclass="sig-name descname">LogServer</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">log_path</span></em>, <emclass="sig-param"><spanclass="o">*</span><spanclass="n">args</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/monitor.html#LogServer"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.monitor.LogServer"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">log_check</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/monitor.html#LogServer.log_check"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.monitor.LogServer.log_check"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">timeout</code><emclass="property"> = 60</em><aclass="headerlink"href="#pylorax.monitor.LogServer.timeout"title="Permalink to this definition">¶</a></dt>
<spanid="pylorax-mount-module"></span><h2>pylorax.mount module<aclass="headerlink"href="#module-pylorax.mount"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="sig-prename descclassname">pylorax.mount.</code><codeclass="sig-name descname">IsoMountpoint</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">iso_path</span></em>, <emclass="sig-param"><spanclass="n">initrd_path</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/mount.html#IsoMountpoint"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.mount.IsoMountpoint"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">get_iso_label</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/mount.html#IsoMountpoint.get_iso_label"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.mount.IsoMountpoint.get_iso_label"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">umount</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/mount.html#IsoMountpoint.umount"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.mount.IsoMountpoint.umount"title="Permalink to this definition">¶</a></dt>
<spanid="pylorax-output-module"></span><h2>pylorax.output module<aclass="headerlink"href="#module-pylorax.output"title="Permalink to this headline">¶</a></h2>
</div>
<divclass="section"id="module-pylorax.sysutils">
<spanid="pylorax-sysutils-module"></span><h2>pylorax.sysutils module<aclass="headerlink"href="#module-pylorax.sysutils"title="Permalink to this headline">¶</a></h2>
<codeclass="sig-prename descclassname">pylorax.sysutils.</code><codeclass="sig-name descname">chmod_</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">path</span></em>, <emclass="sig-param"><spanclass="n">mode</span></em>, <emclass="sig-param"><spanclass="n">recursive</span><spanclass="o">=</span><spanclass="default_value">False</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/sysutils.html#chmod_"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.sysutils.chmod_"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.sysutils.</code><codeclass="sig-name descname">chown_</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">path</span></em>, <emclass="sig-param"><spanclass="n">user</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">group</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">recursive</span><spanclass="o">=</span><spanclass="default_value">False</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/sysutils.html#chown_"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.sysutils.chown_"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.sysutils.</code><codeclass="sig-name descname">joinpaths</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o">*</span><spanclass="n">args</span></em>, <emclass="sig-param"><spanclass="o">**</span><spanclass="n">kwargs</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/sysutils.html#joinpaths"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.sysutils.joinpaths"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.sysutils.</code><codeclass="sig-name descname">linktree</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">src</span></em>, <emclass="sig-param"><spanclass="n">dst</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/sysutils.html#linktree"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.sysutils.linktree"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.sysutils.</code><codeclass="sig-name descname">remove</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">target</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/sysutils.html#remove"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.sysutils.remove"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.sysutils.</code><codeclass="sig-name descname">replace</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">fname</span></em>, <emclass="sig-param"><spanclass="n">find</span></em>, <emclass="sig-param"><spanclass="n">sub</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/sysutils.html#replace"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.sysutils.replace"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.sysutils.</code><codeclass="sig-name descname">touch</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">fname</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/sysutils.html#touch"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.sysutils.touch"title="Permalink to this definition">¶</a></dt>
<spanid="pylorax-treebuilder-module"></span><h2>pylorax.treebuilder module<aclass="headerlink"href="#module-pylorax.treebuilder"title="Permalink to this headline">¶</a></h2>
<codeclass="sig-name descname">cleanup</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.cleanup"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.cleanup"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">create_ext4_runtime</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">outfile</span><spanclass="o">=</span><spanclass="default_value">'/var/tmp/squashfs.img'</span></em>, <emclass="sig-param"><spanclass="n">compression</span><spanclass="o">=</span><spanclass="default_value">'xz'</span></em>, <emclass="sig-param"><spanclass="n">compressargs</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">size</span><spanclass="o">=</span><spanclass="default_value">2</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.create_ext4_runtime"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.create_ext4_runtime"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">create_squashfs_runtime</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">outfile</span><spanclass="o">=</span><spanclass="default_value">'/var/tmp/squashfs.img'</span></em>, <emclass="sig-param"><spanclass="n">compression</span><spanclass="o">=</span><spanclass="default_value">'xz'</span></em>, <emclass="sig-param"><spanclass="n">compressargs</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">size</span><spanclass="o">=</span><spanclass="default_value">2</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.create_squashfs_runtime"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.create_squashfs_runtime"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">finished</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.finished"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.finished"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">generate_module_data</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.generate_module_data"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.generate_module_data"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">install</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.install"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.install"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">postinstall</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.postinstall"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.postinstall"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">verify</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.verify"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.verify"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">writepkglists</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">pkglistdir</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.writepkglists"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.writepkglists"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">writepkgsizes</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">pkgsizefile</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.writepkgsizes"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.writepkgsizes"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">build</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#TreeBuilder.build"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treebuilder.TreeBuilder.build"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">copy_dracut_hooks</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">hooks</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#TreeBuilder.copy_dracut_hooks"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treebuilder.TreeBuilder.copy_dracut_hooks"title="Permalink to this definition">¶</a></dt>
<emclass="property">property </em><codeclass="sig-name descname">dracut_hooks_path</code><aclass="headerlink"href="#pylorax.treebuilder.TreeBuilder.dracut_hooks_path"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">implantisomd5</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#TreeBuilder.implantisomd5"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treebuilder.TreeBuilder.implantisomd5"title="Permalink to this definition">¶</a></dt>
<emclass="property">property </em><codeclass="sig-name descname">kernels</code><aclass="headerlink"href="#pylorax.treebuilder.TreeBuilder.kernels"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">rebuild_initrds</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">add_args</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">backup</span><spanclass="o">=</span><spanclass="default_value">''</span></em>, <emclass="sig-param"><spanclass="n">prefix</span><spanclass="o">=</span><spanclass="default_value">''</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#TreeBuilder.rebuild_initrds"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treebuilder.TreeBuilder.rebuild_initrds"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.treebuilder.</code><codeclass="sig-name descname">findkernels</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">root</span><spanclass="o">=</span><spanclass="default_value">'/'</span></em>, <emclass="sig-param"><spanclass="n">kdir</span><spanclass="o">=</span><spanclass="default_value">'boot'</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#findkernels"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treebuilder.findkernels"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.treebuilder.</code><codeclass="sig-name descname">generate_module_info</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">moddir</span></em>, <emclass="sig-param"><spanclass="n">outfile</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#generate_module_info"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treebuilder.generate_module_info"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.treebuilder.</code><codeclass="sig-name descname">string_lower</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">string</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#string_lower"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treebuilder.string_lower"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.treebuilder.</code><codeclass="sig-name descname">udev_escape</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">label</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#udev_escape"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treebuilder.udev_escape"title="Permalink to this definition">¶</a></dt>
<spanid="pylorax-treeinfo-module"></span><h2>pylorax.treeinfo module<aclass="headerlink"href="#module-pylorax.treeinfo"title="Permalink to this headline">¶</a></h2>
<codeclass="sig-name descname">add_section</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">section</span></em>, <emclass="sig-param"><spanclass="n">data</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treeinfo.html#TreeInfo.add_section"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treeinfo.TreeInfo.add_section"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">write</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">outfile</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treeinfo.html#TreeInfo.write"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.treeinfo.TreeInfo.write"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">pylorax.</code><codeclass="sig-name descname">ArchData</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">buildarch</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax.html#ArchData"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.ArchData"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="sig-prename descclassname">pylorax.</code><codeclass="sig-name descname">Lorax</code><aclass="reference internal"href="_modules/pylorax.html#Lorax"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.Lorax"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">configure</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">conf_file</span><spanclass="o">=</span><spanclass="default_value">'/etc/lorax/lorax.conf'</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax.html#Lorax.configure"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.Lorax.configure"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">init_file_logging</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">logdir</span></em>, <emclass="sig-param"><spanclass="n">logname</span><spanclass="o">=</span><spanclass="default_value">'pylorax.log'</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax.html#Lorax.init_file_logging"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.Lorax.init_file_logging"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname">init_stream_logging</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax.html#Lorax.init_stream_logging"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.Lorax.init_stream_logging"title="Permalink to this definition">¶</a></dt>
<emclass="property">property </em><codeclass="sig-name descname">templatedir</code><aclass="headerlink"href="#pylorax.Lorax.templatedir"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.</code><codeclass="sig-name descname">find_templates</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">templatedir</span><spanclass="o">=</span><spanclass="default_value">'/usr/share/lorax'</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax.html#find_templates"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.find_templates"title="Permalink to this definition">¶</a></dt>
<ddclass="field-odd"><p><strong>templatedir</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.8)"><em>str</em></a>) -- Top directory to search for templates</p>
<codeclass="sig-prename descclassname">pylorax.</code><codeclass="sig-name descname">get_buildarch</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">dbo</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax.html#get_buildarch"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.get_buildarch"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.</code><codeclass="sig-name descname">log_selinux_state</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax.html#log_selinux_state"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.log_selinux_state"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pylorax.</code><codeclass="sig-name descname">setup_logging</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">logfile</span></em>, <emclass="sig-param"><spanclass="n">theLogger</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax.html#setup_logging"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pylorax.setup_logging"title="Permalink to this definition">¶</a></dt>
Built with <ahref="http://sphinx-doc.org/">Sphinx</a> using a <ahref="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <ahref="https://readthedocs.org">Read the Docs</a>.