Revert "Revert "Merge pull request #35821 from vishh/gci-mounter-scope""

This reverts commit 402116aed49c2520855c71dddee8ff949bcea39f.
This commit is contained in:
Vishnu kannan 2016-11-04 16:13:07 -07:00
parent ef92dae34d
commit e3113a4c38
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ func getMetadataFromConfigDrive() (*Metadata, error) {
glog.V(4).Infof("Attempting to mount configdrive %s on %s", dev, mntdir)
mounter := mount.New()
mounter := mount.New("" /* default mount path */)
err = mounter.Mount(dev, mntdir, "iso9660", []string{"ro"})
if err != nil {
err = mounter.Mount(dev, mntdir, "vfat", []string{"ro"})