help=_("A disk image file or device which will be used"))
parser.add_argument("--serial", action="store_true",
help=_("Create an image using a serial console"))
+ parser.add_argument("--ignore-kernel-cmdline", action="store_true",
+ help=_("Ignores parsing the configuration from the kernel commandline"))
# Parse arguments
return parser.parse_args()
Bricklayer's base class
"""
def __init__(self, arch, pakfire_conf=None, first_install=False, debug=False,
- unattended=False, disks=[], serial=False):
+ unattended=False, disks=[], serial=False, ignore_kernel_cmdline=False):
self.arch = arch
self.pakfire_conf = pakfire_conf
self.first_install = first_install
}
# Parse the kernel command line
- self._read_cmdline()
+ if ignore_kernel_cmdline:
+ self._read_cmdline()
# Read OS information
self.os = self._read_os_release()