vmdebootstrap *requires* a cdroot and a mirror
This commit is contained in:
parent
4258e63357
commit
b9d6b77bf9
1 changed files with 1 additions and 5 deletions
|
|
@ -30,12 +30,8 @@ from vmdebootstrap.base import runcmd
|
|||
|
||||
class VMDebootstrap(object):
|
||||
|
||||
def __init__(self, distribution, architecture, mirror=None, cdroot='/tmp/'):
|
||||
def __init__(self, distribution, architecture, mirror, cdroot):
|
||||
self.cdroot = cdroot
|
||||
# FIXME: The customise script needs to be specified in the command line
|
||||
# arguments, falling back to /usr/share/vmdebootstrap/hooks/customise.sh
|
||||
# if no script is specified and hooks/customise.sh does not exist in
|
||||
# the current directory.
|
||||
self.args = ["vmdebootstrap",
|
||||
"--sudo", "--lock-root-password",
|
||||
"--no-systemd-networkd",
|
||||
|
|
|
|||
Loading…
Reference in a new issue