summaryrefslogtreecommitdiff
path: root/bin/vmdebootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'bin/vmdebootstrap')
-rwxr-xr-xbin/vmdebootstrap4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/vmdebootstrap b/bin/vmdebootstrap
index 0fbd91e..30fca9d 100755
--- a/bin/vmdebootstrap
+++ b/bin/vmdebootstrap
@@ -174,6 +174,10 @@ class VmDebootstrap(cliapp.Application): # pylint: disable=too-many-public-meth
'Disabling systemd-networkd for jessie and later '
'requires updating the initramfs.')
+ if self.settings['roottype'] == 'btrfs' and\
+ self.settings['extlinux']:
+ raise cliapp.AppException(
+ 'extlinux is not yet supported on btrfs. Use grub.')
uefi = self.handlers[Uefi.name]
oldstable = distro.was_oldstable(datetime.date(2015, 4, 26))
uefi.check_settings(oldstable=oldstable)