Bug 988862
Summary: | virt-sysprep --firstboot option writes incorrect "99" (instead of "S99") sysv-init-style start up script | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Richard W.M. Jones <rjones> |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | acathrow, bfan, leiwang, lkong, mbooth, wshi |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libguestfs-1.22.5-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 988860 | Environment: | |
Last Closed: | 2014-06-13 09:22:38 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: | |||
Bug Depends On: | 988860 | ||
Bug Blocks: |
Description
Richard W.M. Jones
2013-07-26 15:12:25 UTC
Can reproduce with libguestfs-1.22.4-2.el7.x86_64 [root]# cat some-script.sh #!/bin/bash touch /home/usefulfile [root]# virt-sysprep --firstboot ./some-script.sh -a RHEL-Server-6.4-64-hvm.raw /home/usefulfile then, boot up the rhel6.4 guest, and there is no /home/usefulfile Verified with libguestfs-1.22.6-15.el7 Steps: 1. Create test script: [root@rhel7libguestfs ~]# cat test.sh #!/bin/bash touch /root/test.txt echo "Hello World!" 2. [root@rhel7libguestfs ~]# virt-sysprep --firstboot ./test.sh -a RHEL-Server-6.5-64-20131024.1-hvm.qcow 3. Check in the guest: #ls /root/ #test.txt virt-sysprep-firstboot.log Additional info: In the guest #cat virt-sysprep-firstboot.log === Running /usr/lib/virt-sysprep/scripts/1384656116-azw3p6uu-test-sh === Hello World! This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |