X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=livecd-post.sh.in;h=31126820eb4d1a98bfcd77fe345e164d3608e79b;hb=5791fe1d77a1d183c8a4ffc0b9cd53101c142f80;hp=f85dbd0499926d3d18f60eabda6515cff54257fa;hpb=3bbcbfe8c8a210aab420a97e1b0d2c9d75b0fd39;p=virt-p2v.git diff --git a/livecd-post.sh.in b/livecd-post.sh.in index f85dbd0..3112682 100644 --- a/livecd-post.sh.in +++ b/livecd-post.sh.in @@ -19,17 +19,30 @@ # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# $Id$ # This is the virt-p2v script. - -cat > /usr/bin/virt-p2v.ml << '__EOF1234__' -@VIRT-P2V.ML@ +cat > /usr/bin/virt-p2v << '__EOF1234__' +@VIRT-P2V@ __EOF1234__ -chmod 0755 /usr/bin/virt-p2v.ml -/sbin/restorecon /usr/bin/virt-p2v.ml +chmod 0755 /usr/bin/virt-p2v +/sbin/restorecon /usr/bin/virt-p2v + +# iso-attach program. +cat > /usr/bin/iso-attach << '__EOF2134__' +@ISO-ATTACH@ +__EOF2134__ + +chmod 0755 /usr/bin/iso-attach +/sbin/restorecon /usr/bin/iso-attach + +# Update wrapper - checks the CD-ROM for any attached file. +cat > /usr/bin/virt-p2v-update-wrapper << '__EOF1243__' +@VIRT-P2V-UPDATE-WRAPPER@ +__EOF1243__ + +chmod 0755 /usr/bin/virt-p2v-update-wrapper +/sbin/restorecon /usr/bin/virt-p2v-update-wrapper # Install custom inittab. cat > /etc/inittab << '__EOF4123__'