Revision b635b72c snf-image-host/create

b/snf-image-host/create
75 75
        target="$(map_disk0 "$blockdev")-1" #the root device
76 76
        add_cleanup unmap_disk0 "$blockdev"
77 77
        snf_export_PROPERTY_ROOT_PARTITION=1
78
        if [ "$IMAGE_TYPE" = "ntfsdump" ]; then
79
            snf_export_PROPERTY_OSFAMILY="windows"
80
        else
81
            snf_export_PROPERTY_OSFAMILY="linux"
82
        fi
78 83
        ;;
79 84
    diskdump|custom)
80 85
        target="$blockdev"

Also available in: Unified diff