Autoinstallation Snippets

Use snippets to store common blocks of code that can be shared across multiple Kickstart or AutoYaST profiles in Uyuni.

Default Snippets

Default snippets coming with Uyuni are not editable. You can use a snippet, if you add the Snippet Macro statement such as $SNIPPET('spacewalk/sles_register_script') to your autoinstallation profile. This is an AutoYaST profile example:

<init-scripts config:type="list">
  $SNIPPET('spacewalk/sles_register_script')
</init-scripts>

When you create a snippet with the Create Snippet link, all profiles including that snippet will be updated accordingly.

Custom Snippets

This is the tab with custom snippets. Click a name of a snippet to view, edit, or delete it.

All Snippets

The All Snippets tab lists default and custom snippets together.