Bug 1212808

Summary: RFE: virt-builder --touch
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: ptoscano, rbalakri
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: 2015-04-28 15:20:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2015-04-17 11:03:16 UTC
Description of problem:

It should be possible to do:

  virt-builder --touch /.autorelabel fedora-21

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

libguestfs-1.29.36-1.fc23.x86_64

Comment 1 Richard W.M. Jones 2015-04-17 11:04:06 UTC
A workaround for creating empty files is:

  virt-builder --write /.autorelabel:

but that isn't exactly the same as what the touch command does.