<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"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.base.</span></code><codeclass="sig-name descname"><spanclass="pre">BaseLoraxClass</span></code><aclass="reference internal"href="_modules/pylorax/base.html#BaseLoraxClass"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.base.BaseLoraxClass"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">pcritical</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="pre">msg</span></em>, <emclass="sig-param"><spanclass="pre">fobj=<_io.TextIOWrapper</span><spanclass="pre">name='<stdout>'</span><spanclass="pre">mode='w'</span><spanclass="pre">encoding='utf-8'></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/base.html#BaseLoraxClass.pcritical"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.base.BaseLoraxClass.pcritical"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">pdebug</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="pre">msg</span></em>, <emclass="sig-param"><spanclass="pre">fobj=<_io.TextIOWrapper</span><spanclass="pre">name='<stdout>'</span><spanclass="pre">mode='w'</span><spanclass="pre">encoding='utf-8'></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/base.html#BaseLoraxClass.pdebug"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.base.BaseLoraxClass.pdebug"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">perror</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="pre">msg</span></em>, <emclass="sig-param"><spanclass="pre">fobj=<_io.TextIOWrapper</span><spanclass="pre">name='<stdout>'</span><spanclass="pre">mode='w'</span><spanclass="pre">encoding='utf-8'></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/base.html#BaseLoraxClass.perror"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.base.BaseLoraxClass.perror"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">pinfo</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="pre">msg</span></em>, <emclass="sig-param"><spanclass="pre">fobj=<_io.TextIOWrapper</span><spanclass="pre">name='<stdout>'</span><spanclass="pre">mode='w'</span><spanclass="pre">encoding='utf-8'></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/base.html#BaseLoraxClass.pinfo"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.base.BaseLoraxClass.pinfo"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">pwarning</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="pre">msg</span></em>, <emclass="sig-param"><spanclass="pre">fobj=<_io.TextIOWrapper</span><spanclass="pre">name='<stdout>'</span><spanclass="pre">mode='w'</span><spanclass="pre">encoding='utf-8'></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/base.html#BaseLoraxClass.pwarning"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.base.BaseLoraxClass.pwarning"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.base.</span></code><codeclass="sig-name descname"><spanclass="pre">DataHolder</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/base.html#DataHolder"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.base.DataHolder"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">copy</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span>→<spanclass="pre">a</span><spanclass="pre">shallow</span><spanclass="pre">copy</span><spanclass="pre">of</span><spanclass="pre">D</span><aclass="reference internal"href="_modules/pylorax/base.html#DataHolder.copy"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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"><spanclass="pre">write</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">outfile</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/buildstamp.html#BuildStamp.write"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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"><spanclass="pre">pylorax.cmdline.</span></code><codeclass="sig-name descname"><spanclass="pre">lmc_parser</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">dracut_default</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">''</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/cmdline.html#lmc_parser"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.cmdline.lmc_parser"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.cmdline.</span></code><codeclass="sig-name descname"><spanclass="pre">lorax_parser</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">dracut_default</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">''</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/cmdline.html#lorax_parser"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.creator.</span></code><codeclass="sig-name descname"><spanclass="pre">FakeDNF</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">conf</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#FakeDNF"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.creator.FakeDNF"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">reset</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#FakeDNF.reset"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.creator.FakeDNF.reset"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.creator.</span></code><codeclass="sig-name descname"><spanclass="pre">calculate_disk_size</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">opts</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">ks</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#calculate_disk_size"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><em>str</em></a>) -- Path to the kickstart to use for the installation</p></li>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.creator.</span></code><codeclass="sig-name descname"><spanclass="pre">check_kickstart</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">ks</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">opts</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#check_kickstart"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.creator.check_kickstart"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.creator.</span></code><codeclass="sig-name descname"><spanclass="pre">create_pxe_config</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">template</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">images_dir</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">live_image_name</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">add_args</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#create_pxe_config"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><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.9)"><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.9)"><em>list</em></a>) -- Arguments to be added to initrd= pxe config</p></li>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.creator.</span></code><codeclass="sig-name descname"><spanclass="pre">dracut_args</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">opts</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#dracut_args"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.creator.dracut_args"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.creator.</span></code><codeclass="sig-name descname"><spanclass="pre">find_ostree_root</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">phys_root</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#find_ostree_root"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><strong>Exception</strong></a> -- More than one deployment roots were found</p>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.creator.</span></code><codeclass="sig-name descname"><spanclass="pre">get_arch</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">mount_dir</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#get_arch"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.creator.get_arch"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.creator.</span></code><codeclass="sig-name descname"><spanclass="pre">is_image_mounted</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">disk_img</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#is_image_mounted"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><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.9)"><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.9)"><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.9)"><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.9)"><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.9)"><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.9)"><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.9)"><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.9)"><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.9)"><em>str</em></a>) -- Project, passed to template. Default is 'Linux'</p></li>
<li><p><strong>releasever</strong> (<aclass="reference external"href="https://docs.python.org/3/library/stdtypes.html#str"title="(in Python v3.9)"><em>str</em></a>) -- Release version, passed to template. Default is 34</p></li>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.creator.</span></code><codeclass="sig-name descname"><spanclass="pre">make_image</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">opts</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">ks</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">cancel_func</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#make_image"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><em>str</em></a>) -- Path to the kickstart to use for the installation</p></li>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.creator.</span></code><codeclass="sig-name descname"><spanclass="pre">make_live_images</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">opts</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">work_dir</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">disk_img</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#make_live_images"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><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.9)"><em>str</em></a>) -- Path to disk image (fsimage or partitioned)</p></li>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.creator.</span></code><codeclass="sig-name descname"><spanclass="pre">make_livecd</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">opts</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">mount_dir</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">work_dir</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#make_livecd"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><em>str</em></a>) -- Directory tree to compress</p></li>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.creator.</span></code><codeclass="sig-name descname"><spanclass="pre">make_runtime</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">opts</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">mount_dir</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">work_dir</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">size</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#make_runtime"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><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.9)"><em>int</em></a>) -- Size of disk image, in GiB</p></li>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.creator.</span></code><codeclass="sig-name descname"><spanclass="pre">mount_boot_part_over_root</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">img_mount</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#mount_boot_part_over_root"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.creator.mount_boot_part_over_root"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.creator.</span></code><codeclass="sig-name descname"><spanclass="pre">rebuild_initrds_for_live</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">opts</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">sys_root_dir</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">results_dir</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#rebuild_initrds_for_live"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><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.9)"><em>str</em></a>) -- Path of directory for storing results</p></li>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.creator.</span></code><codeclass="sig-name descname"><spanclass="pre">run_creator</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">opts</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">cancel_func</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#run_creator"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.creator.run_creator"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.creator.</span></code><codeclass="sig-name descname"><spanclass="pre">squashfs_args</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">opts</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/creator.html#squashfs_args"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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"><spanclass="pre">pylorax.decorators.</span></code><codeclass="sig-name descname"><spanclass="pre">singleton</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">cls</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/decorators.html#singleton"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.discinfo.</span></code><codeclass="sig-name descname"><spanclass="pre">DiscInfo</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">release</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">basearch</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/discinfo.html#DiscInfo"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.discinfo.DiscInfo"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">write</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">outfile</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/discinfo.html#DiscInfo.write"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><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.9)"><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.9)"><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.9)"><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.9)"><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"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.dnfhelper.</span></code><codeclass="sig-name descname"><spanclass="pre">LoraxDownloadCallback</span></code><aclass="reference internal"href="_modules/pylorax/dnfhelper.html#LoraxDownloadCallback"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.dnfhelper.LoraxDownloadCallback"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">end</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">payload</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">status</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">msg</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/dnfhelper.html#LoraxDownloadCallback.end"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.dnfhelper.LoraxDownloadCallback.end"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">progress</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">payload</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">done</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/dnfhelper.html#LoraxDownloadCallback.progress"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.dnfhelper.LoraxDownloadCallback.progress"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">start</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">total_files</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">total_size</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">total_drpms</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">0</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/dnfhelper.html#LoraxDownloadCallback.start"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.dnfhelper.LoraxDownloadCallback.start"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.dnfhelper.</span></code><codeclass="sig-name descname"><spanclass="pre">LoraxRpmCallback</span></code><aclass="reference internal"href="_modules/pylorax/dnfhelper.html#LoraxRpmCallback"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.dnfhelper.LoraxRpmCallback"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">error</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">message</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/dnfhelper.html#LoraxRpmCallback.error"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.executils.</span></code><codeclass="sig-name descname"><spanclass="pre">ExecProduct</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">rc</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">stdout</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">stderr</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/executils.html#ExecProduct"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.executils.ExecProduct"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.executils.</span></code><codeclass="sig-name descname"><spanclass="pre">augmentEnv</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/executils.html#augmentEnv"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.executils.augmentEnv"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.executils.</span></code><codeclass="sig-name descname"><spanclass="pre">runcmd</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">cmd</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/executils.html#runcmd"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.executils.runcmd"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.executils.</span></code><codeclass="sig-name descname"><spanclass="pre">runcmd_output</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">cmd</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/executils.html#runcmd_output"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.executils.runcmd_output"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.executils.</span></code><codeclass="sig-name descname"><spanclass="pre">setenv</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">name</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">value</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/executils.html#setenv"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><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.9)"><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"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">DMDev</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">dev</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">size</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">name</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#DMDev"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.imgutils.DMDev"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">LoopDev</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">filename</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">size</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#LoopDev"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.imgutils.LoopDev"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">Mount</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">dev</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">opts</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">''</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">mnt</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#Mount"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.imgutils.Mount"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">PartitionMount</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">disk_img</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">mount_ok</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">submount</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#PartitionMount"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.imgutils.PartitionMount"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">copytree</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">src</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">dest</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">preserve</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">True</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#copytree"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.imgutils.copytree"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">default_image_name</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">compression</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">basename</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#default_image_name"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.imgutils.default_image_name"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">dm_attach</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">dev</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">size</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">name</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#dm_attach"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.imgutils.dm_attach"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">dm_detach</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">dev</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#dm_detach"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.imgutils.dm_detach"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">do_grafts</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">grafts</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">dest</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">preserve</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">True</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#do_grafts"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.imgutils.do_grafts"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">get_loop_name</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">path</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#get_loop_name"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.imgutils.get_loop_name"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">kpartx_disk_img</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">disk_img</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#kpartx_disk_img"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><em>str</em></a>) -- The full path to a partitioned disk image</p>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">loop_attach</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">outfile</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#loop_attach"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.imgutils.loop_attach"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">loop_detach</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">loopdev</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#loop_detach"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.imgutils.loop_detach"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">loop_waitfor</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">loop_dev</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">outfile</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#loop_waitfor"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.imgutils.loop_waitfor"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">mkcpio</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">root</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">outfile</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">compression</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">'xz'</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">compressargs</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#mkcpio"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.imgutils.mkcpio"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">mkfsimage_from_disk</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">diskimage</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">fsimage</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">img_size</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">label</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">'Anaconda'</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#mkfsimage_from_disk"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><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.9)"><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.9)"><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.9)"><em>str</em></a>) -- The label to apply to the image. Defaults to "Anaconda"</p></li>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">mkqcow2</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">outfile</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">size</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">options</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#mkqcow2"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.imgutils.mkqcow2"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">mkqemu_img</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">outfile</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">size</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">options</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#mkqemu_img"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><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.9)"><em>str</em></a>) -- path to system (deployment) root relative to physical root</p></li>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">mksparse</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">outfile</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">size</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#mksparse"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.imgutils.mksparse"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">mksquashfs</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">rootdir</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">outfile</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">compression</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">'default'</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">compressargs</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#mksquashfs"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.imgutils.mksquashfs"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">mount</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">dev</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">opts</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">''</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">mnt</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#mount"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.imgutils.mount"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.imgutils.</span></code><codeclass="sig-name descname"><spanclass="pre">round_to_blocks</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">size</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">blocksize</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/imgutils.html#round_to_blocks"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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"><spanclass="pre">exception</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.installer.</span></code><codeclass="sig-name descname"><spanclass="pre">InstallError</span></code><aclass="reference internal"href="_modules/pylorax/installer.html#InstallError"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.installer.InstallError"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">QEMU_CMDS</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">{'aarch64':</span><spanclass="pre">'qemu-system-aarch64',</span><spanclass="pre">'arm':</span><spanclass="pre">'qemu-system-arm',</span><spanclass="pre">'i386':</span><spanclass="pre">'qemu-system-i386',</span><spanclass="pre">'ppc64le':</span><spanclass="pre">'qemu-system-ppc64',</span><spanclass="pre">'x86_64':</span><spanclass="pre">'qemu-system-x86_64'}</span></em><aclass="headerlink"href="#pylorax.installer.QEMUInstall.QEMU_CMDS"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.installer.</span></code><codeclass="sig-name descname"><spanclass="pre">anaconda_cleanup</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">dirinstall_path</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/installer.html#anaconda_cleanup"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.installer.anaconda_cleanup"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.installer.</span></code><codeclass="sig-name descname"><spanclass="pre">append_initrd</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">initrd</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">files</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/installer.html#append_initrd"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><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.9)"><em>list</em></a>) -- list of file paths to add</p></li>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.installer.</span></code><codeclass="sig-name descname"><spanclass="pre">create_vagrant_metadata</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">path</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">size</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">0</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/installer.html#create_vagrant_metadata"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><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.9)"><em>int</em></a>) -- Disk size in MiB</p></li>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.installer.</span></code><codeclass="sig-name descname"><spanclass="pre">find_free_port</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">start</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">5900</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">end</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">5999</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">host</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">'127.0.0.1'</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/installer.html#find_free_port"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><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.9)"><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.9)"><em>str</em></a>) -- Host IP to search</p></li>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.installer.</span></code><codeclass="sig-name descname"><spanclass="pre">novirt_cancel_check</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">cancel_funcs</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">proc</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/installer.html#novirt_cancel_check"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><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.9)"><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.9)"><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.9)"><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.9)"><em>str</em></a>) -- For make_tar_disk, the path to final tarball to be created</p></li>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.installer.</span></code><codeclass="sig-name descname"><spanclass="pre">update_vagrant_metadata</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">path</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">size</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/installer.html#update_vagrant_metadata"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><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.9)"><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.9)"><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.9)"><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.9)"><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.9)"><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>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.ltmpl.</span></code><codeclass="sig-name descname"><spanclass="pre">LiveTemplateRunner</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">dbo</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">fatalerrors</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">True</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">templatedir</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">defaults</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LiveTemplateRunner"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LiveTemplateRunner"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">installpkg</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">pkgs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LiveTemplateRunner.installpkg"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.ltmpl.</span></code><codeclass="sig-name descname"><spanclass="pre">LoraxTemplate</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">directories</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplate"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplate"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">parse</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">template_file</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">variables</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplate.parse"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplate.parse"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">append</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">filename</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.append"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.append"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">chmod</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">fileglob</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">mode</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.chmod"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.chmod"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">copy</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">src</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">dest</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.copy"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.copy"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">createaddrsize</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">addr</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">src</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">dest</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.createaddrsize"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.createaddrsize"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">hardlink</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">src</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">dest</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.hardlink"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.hardlink"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">install</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">srcglob</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">dest</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.install"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.install"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">installimg</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">args</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.installimg"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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"><spanclass="pre">installinitrd</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">section</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">src</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">dest</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.installinitrd"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.installinitrd"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">installkernel</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">section</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">src</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">dest</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.installkernel"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.installkernel"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">installpkg</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">pkgs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.installpkg"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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"><spanclass="pre">installupgradeinitrd</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">section</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">src</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">dest</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.installupgradeinitrd"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.installupgradeinitrd"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">log</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">msg</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.log"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.log"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">mkdir</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">dirs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.mkdir"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.mkdir"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">move</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">src</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">dest</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.move"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.move"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">remove</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">fileglobs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.remove"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.remove"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">removefrom</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">pkg</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">globs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.removefrom"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.removefrom"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">removekmod</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">globs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.removekmod"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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"><spanclass="pre">removepkg</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">pkgs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.removepkg"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.removepkg"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">replace</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">pat</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">repl</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">fileglobs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.replace"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.replace"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">run_pkg_transaction</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.run_pkg_transaction"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.run_pkg_transaction"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">runcmd</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">cmdlist</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.runcmd"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.runcmd"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">symlink</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">target</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">dest</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.symlink"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.symlink"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">systemctl</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">cmd</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">units</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.systemctl"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.systemctl"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">treeinfo</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">section</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">key</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">valuetoks</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#LoraxTemplateRunner.treeinfo"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.LoraxTemplateRunner.treeinfo"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.ltmpl.</span></code><codeclass="sig-name descname"><spanclass="pre">TemplateRunner</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">fatalerrors</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">True</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">templatedir</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">defaults</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">builtins</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#TemplateRunner"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.TemplateRunner"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">run</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">templatefile</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">variables</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#TemplateRunner.run"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.TemplateRunner.run"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.ltmpl.</span></code><codeclass="sig-name descname"><spanclass="pre">brace_expand</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">s</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#brace_expand"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.brace_expand"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.ltmpl.</span></code><codeclass="sig-name descname"><spanclass="pre">rexists</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">pathname</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">root</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">''</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#rexists"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.rexists"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.ltmpl.</span></code><codeclass="sig-name descname"><spanclass="pre">rglob</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">pathname</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">root</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">'/'</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">fatal</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">False</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#rglob"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ltmpl.rglob"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.ltmpl.</span></code><codeclass="sig-name descname"><spanclass="pre">split_and_expand</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">line</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/ltmpl.html#split_and_expand"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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"><spanclass="pre">shutdown</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/monitor.html#LogMonitor.shutdown"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.monitor.LogMonitor.shutdown"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.monitor.</span></code><codeclass="sig-name descname"><spanclass="pre">LogRequestHandler</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">request</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">client_address</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">server</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/monitor.html#LogRequestHandler"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.monitor.LogRequestHandler"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">finish</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/monitor.html#LogRequestHandler.finish"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.monitor.LogRequestHandler.finish"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">handle</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/monitor.html#LogRequestHandler.handle"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.monitor.LogRequestHandler.handle"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">iserror</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">line</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/monitor.html#LogRequestHandler.iserror"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><em>str</em></a>) -- log line to check for failure</p>
<codeclass="sig-name descname"><spanclass="pre">re_tests</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">['packaging:</span><spanclass="pre">base</span><spanclass="pre">repo</span><spanclass="pre">.*</span><spanclass="pre">not</span><spanclass="pre">valid',</span><spanclass="pre">'packaging:</span><spanclass="pre">.*</span><spanclass="pre">requires</span><spanclass="pre">.*']</span></em><aclass="headerlink"href="#pylorax.monitor.LogRequestHandler.re_tests"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">setup</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/monitor.html#LogRequestHandler.setup"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.monitor.LogRequestHandler.setup"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">simple_tests</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">['Traceback</span><spanclass="pre">(',</span><spanclass="pre">'traceback</span><spanclass="pre">script(s)</span><spanclass="pre">have</span><spanclass="pre">been</span><spanclass="pre">run',</span><spanclass="pre">'Out</span><spanclass="pre">of</span><spanclass="pre">memory:',</span><spanclass="pre">'Call</span><spanclass="pre">Trace:',</span><spanclass="pre">'insufficient</span><spanclass="pre">disk</span><spanclass="pre">space:',</span><spanclass="pre">'Not</span><spanclass="pre">enough</span><spanclass="pre">disk</span><spanclass="pre">space</span><spanclass="pre">to</span><spanclass="pre">download</span><spanclass="pre">the</span><spanclass="pre">packages',</span><spanclass="pre">'error</span><spanclass="pre">populating</span><spanclass="pre">transaction</span><spanclass="pre">after',</span><spanclass="pre">'crashed</span><spanclass="pre">on</span><spanclass="pre">signal',</span><spanclass="pre">'packaging:</span><spanclass="pre">Missed:</span><spanclass="pre">NoSuchPackage',</span><spanclass="pre">'packaging:</span><spanclass="pre">Installation</span><spanclass="pre">failed',</span><spanclass="pre">'The</span><spanclass="pre">following</span><spanclass="pre">error</span><spanclass="pre">occurred</span><spanclass="pre">while</span><spanclass="pre">installing.</span> <spanclass="pre">This</span><spanclass="pre">is</span><spanclass="pre">a</span><spanclass="pre">fatal</span><spanclass="pre">error',</span><spanclass="pre">'Error</span><spanclass="pre">in</span><spanclass="pre">POSTIN</span><spanclass="pre">scriptlet</span><spanclass="pre">in</span><spanclass="pre">rpm</span><spanclass="pre">package']</span></em><aclass="headerlink"href="#pylorax.monitor.LogRequestHandler.simple_tests"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.monitor.</span></code><codeclass="sig-name descname"><spanclass="pre">LogServer</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">log_path</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">args</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/monitor.html#LogServer"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.monitor.LogServer"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">log_check</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/monitor.html#LogServer.log_check"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.monitor.LogServer.log_check"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">timeout</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">60</span></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"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.mount.</span></code><codeclass="sig-name descname"><spanclass="pre">IsoMountpoint</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">iso_path</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">initrd_path</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/mount.html#IsoMountpoint"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.mount.IsoMountpoint"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">get_iso_label</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/mount.html#IsoMountpoint.get_iso_label"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.mount.IsoMountpoint.get_iso_label"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">umount</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/mount.html#IsoMountpoint.umount"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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"><spanclass="pre">pylorax.sysutils.</span></code><codeclass="sig-name descname"><spanclass="pre">chmod_</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">path</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">mode</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">recursive</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">False</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/sysutils.html#chmod_"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.sysutils.chmod_"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.sysutils.</span></code><codeclass="sig-name descname"><spanclass="pre">chown_</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">path</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">user</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">group</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">recursive</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">False</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/sysutils.html#chown_"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.sysutils.chown_"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.sysutils.</span></code><codeclass="sig-name descname"><spanclass="pre">joinpaths</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="o"><spanclass="pre">*</span></span><spanclass="n"><spanclass="pre">args</span></span></em>, <emclass="sig-param"><spanclass="o"><spanclass="pre">**</span></span><spanclass="n"><spanclass="pre">kwargs</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/sysutils.html#joinpaths"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.sysutils.joinpaths"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.sysutils.</span></code><codeclass="sig-name descname"><spanclass="pre">linktree</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">src</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">dst</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/sysutils.html#linktree"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.sysutils.linktree"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.sysutils.</span></code><codeclass="sig-name descname"><spanclass="pre">remove</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">target</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/sysutils.html#remove"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.sysutils.remove"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.sysutils.</span></code><codeclass="sig-name descname"><spanclass="pre">replace</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">fname</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">find</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">sub</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/sysutils.html#replace"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.sysutils.replace"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.sysutils.</span></code><codeclass="sig-name descname"><spanclass="pre">touch</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">fname</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/sysutils.html#touch"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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"><spanclass="pre">cleanup</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.cleanup"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.cleanup"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">create_ext4_runtime</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">outfile</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">'/var/tmp/squashfs.img'</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">compression</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">'xz'</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">compressargs</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">size</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">2</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.create_ext4_runtime"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.create_ext4_runtime"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">create_squashfs_runtime</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">outfile</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">'/var/tmp/squashfs.img'</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">compression</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">'xz'</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">compressargs</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">size</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">2</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.create_squashfs_runtime"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.create_squashfs_runtime"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">finished</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.finished"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.finished"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">generate_module_data</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.generate_module_data"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.generate_module_data"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">install</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.install"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.install"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">postinstall</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.postinstall"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.postinstall"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">verify</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.verify"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.verify"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">writepkglists</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">pkglistdir</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.writepkglists"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.writepkglists"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">writepkgsizes</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">pkgsizefile</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#RuntimeBuilder.writepkgsizes"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.treebuilder.RuntimeBuilder.writepkgsizes"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">build</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#TreeBuilder.build"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.treebuilder.TreeBuilder.build"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">copy_dracut_hooks</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">hooks</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#TreeBuilder.copy_dracut_hooks"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.treebuilder.TreeBuilder.copy_dracut_hooks"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><codeclass="sig-name descname"><spanclass="pre">dracut_hooks_path</span></code><aclass="headerlink"href="#pylorax.treebuilder.TreeBuilder.dracut_hooks_path"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">implantisomd5</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#TreeBuilder.implantisomd5"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.treebuilder.TreeBuilder.implantisomd5"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><codeclass="sig-name descname"><spanclass="pre">kernels</span></code><aclass="headerlink"href="#pylorax.treebuilder.TreeBuilder.kernels"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">rebuild_initrds</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">add_args</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">backup</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">''</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">prefix</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">''</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#TreeBuilder.rebuild_initrds"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.treebuilder.TreeBuilder.rebuild_initrds"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.treebuilder.</span></code><codeclass="sig-name descname"><spanclass="pre">findkernels</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">root</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">'/'</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">kdir</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">'boot'</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#findkernels"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.treebuilder.findkernels"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.treebuilder.</span></code><codeclass="sig-name descname"><spanclass="pre">generate_module_info</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">moddir</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">outfile</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">None</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#generate_module_info"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.treebuilder.generate_module_info"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.treebuilder.</span></code><codeclass="sig-name descname"><spanclass="pre">string_lower</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">string</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#string_lower"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.treebuilder.string_lower"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.treebuilder.</span></code><codeclass="sig-name descname"><spanclass="pre">udev_escape</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">label</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treebuilder.html#udev_escape"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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"><spanclass="pre">add_section</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">section</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">data</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treeinfo.html#TreeInfo.add_section"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.treeinfo.TreeInfo.add_section"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">write</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">outfile</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax/treeinfo.html#TreeInfo.write"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.treeinfo.TreeInfo.write"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.</span></code><codeclass="sig-name descname"><spanclass="pre">ArchData</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">buildarch</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax.html#ArchData"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.ArchData"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">bcj_arch</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">{'arm':</span><spanclass="pre">'arm',</span><spanclass="pre">'armhfp':</span><spanclass="pre">'arm',</span><spanclass="pre">'i386':</span><spanclass="pre">'x86',</span><spanclass="pre">'ppc64le':</span><spanclass="pre">'powerpc',</span><spanclass="pre">'x86_64':</span><spanclass="pre">'x86'}</span></em><aclass="headerlink"href="#pylorax.ArchData.bcj_arch"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">lib64_arches</span></code><emclass="property"><spanclass="pre">=</span><spanclass="pre">('x86_64',</span><spanclass="pre">'ppc64le',</span><spanclass="pre">'s390x',</span><spanclass="pre">'ia64',</span><spanclass="pre">'aarch64')</span></em><aclass="headerlink"href="#pylorax.ArchData.lib64_arches"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">class</span></em><codeclass="sig-prename descclassname"><spanclass="pre">pylorax.</span></code><codeclass="sig-name descname"><spanclass="pre">Lorax</span></code><aclass="reference internal"href="_modules/pylorax.html#Lorax"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.Lorax"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">configure</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">conf_file</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">'/etc/lorax/lorax.conf'</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax.html#Lorax.configure"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.Lorax.configure"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">init_file_logging</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">logdir</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">logname</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">'pylorax.log'</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax.html#Lorax.init_file_logging"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.Lorax.init_file_logging"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-name descname"><spanclass="pre">init_stream_logging</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax.html#Lorax.init_stream_logging"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.Lorax.init_stream_logging"title="Permalink to this definition">¶</a></dt>
<emclass="property"><spanclass="pre">property</span></em><codeclass="sig-name descname"><spanclass="pre">templatedir</span></code><aclass="headerlink"href="#pylorax.Lorax.templatedir"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.</span></code><codeclass="sig-name descname"><spanclass="pre">find_templates</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">templatedir</span></span><spanclass="o"><spanclass="pre">=</span></span><spanclass="default_value"><spanclass="pre">'/usr/share/lorax'</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax.html#find_templates"><spanclass="viewcode-link"><spanclass="pre">[source]</span></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.9)"><em>str</em></a>) -- Top directory to search for templates</p>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.</span></code><codeclass="sig-name descname"><spanclass="pre">get_buildarch</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">dbo</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax.html#get_buildarch"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.get_buildarch"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.</span></code><codeclass="sig-name descname"><spanclass="pre">log_selinux_state</span></code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax.html#log_selinux_state"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.log_selinux_state"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname"><spanclass="pre">pylorax.</span></code><codeclass="sig-name descname"><spanclass="pre">setup_logging</span></code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n"><spanclass="pre">logfile</span></span></em>, <emclass="sig-param"><spanclass="n"><spanclass="pre">theLogger</span></span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="_modules/pylorax.html#setup_logging"><spanclass="viewcode-link"><spanclass="pre">[source]</span></span></a><aclass="headerlink"href="#pylorax.setup_logging"title="Permalink to this definition">¶</a></dt>