Skip to content

Instantly share code, notes, and snippets.

d-i partman-auto/method string raid
d-i partman-auto/disk string /dev/sdy /dev/sdac
d-i partman-md/device_remove_md boolean true
d-i partman-md/confirm boolean true
d-i partman-lvm/confirm boolean true
d-i partman-lvm/device_remove_lvm boolean true
d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman-auto-lvm/new_vg_name string vg0
d-i partman-auto-raid/recipe string \
#include <iostream>
#include <stdexcept>
#include <string>
class CompilerError : public std::runtime_error
{
public:
CompilerError(const std::string& what_arg)
: std::runtime_error(what_arg)
{ }