guestfish

1,使用guestfish修改iptables中的内容

Install guestfish

    #yum install libguestfs-tools

Guestfish –rw –a rehel65.img

<fs>:run

<fs>:list-filesystems

<fs>mount /dev/sda1 /

<fs>vi /etc/sysconfig/iptables

posted @ 2014-10-24 15:00  oyaimj  阅读(209)  评论(0编辑  收藏  举报