Bug 734395

Summary: virt-p2v-image-builder -k: "Section does not end with %%end."
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: virt-p2vAssignee: Matthew Booth <mbooth>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecified   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-15 12:08:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Richard W.M. Jones 2011-08-30 09:54:34 UTC
Description of problem:

$ sudo virt-p2v-image-builder -k
Failed to parse kickstart file '/usr/share/virt-p2v-image-builder/virt-p2v-image.ks' : The following problem occurred on line 6 of the kickstart file:

Section does not end with %%end.

#version=DEVEL
# Firewall configuration
firewall --disabled
device 3w-9xxx
device 3w-sas
device 3w-xxxx
device a100u2w
[etc]

Version-Release number of selected component (if applicable):

virt-p2v-image-builder-0.8.3-1.fc16.noarch

Additional info:

Here is the content of the kickstart file that is mentioned
in the error message.

-------------------------
# virt-p2v Node image recipe

%include common-install.ks

%packages --excludedocs --nobase
%include common-pkgs.ks
%end

%post
%include common-post.ks
%end

%include common-minimizer.ks

%post --nochroot
%include common-post-nochroot.ks
%end

%include common-manifest-post.ks

Comment 1 Richard W.M. Jones 2014-12-15 12:08:13 UTC
This is fixed in the current release of virt-p2v (1.28/1.29)
therefore closing.