def _create_ephemeral(self, target, ephemeral_size, fs_label, os_type, is_block_dev=False, max_size=None, specified_fs=None):
    if (not is_block_dev):
        self._create_local(target, ephemeral_size)
    disk.mkfs(os_type, fs_label, target, run_as_root=is_block_dev, specified_fs=specified_fs)
def _create_ephemeral(self, target, ephemeral_size, fs_label, os_type, is_block_dev=False, max_size=None, specified_fs=None):
    if (not is_block_dev):
        self._create_local(target, ephemeral_size)
    disk.mkfs(os_type, fs_label, target, run_as_root=is_block_dev, specified_fs=specified_fs)