Skip to main content

Windows 10 with Hyper-V Role and Vagrant Setup

I have been working on a  Udacity project which uses vagrant box for project implementation. I was trying to resolve an issue with vagrant sync folder.

When using the "vagrant up" on a network based on Microsoft Active Directory with MicrosoftAccount\email@outlook.com, one can use the rsync default type of "smb" but when using a regular network, one has to use the rsync folder type of "rsync" as the "MicrosoftAccount\email@outlook.com" does not allow the folders to be synced, even if the folders are in public documents folder on the host machine. The “smb” type will always reject the mapping even though it ask you for the “Windows account” username and password when mounting to guest linux machine.

The reverse was the case when using the non-fully qualified domain Active Directory based network. The active directory has moved away from non-fully qualified domains long ago but I just happen to use one which still has the same old implementation.

#wired network with active directory network but system login with microsoft account#config.vm.synced_folder ".", "/vagrant", rsync__exclude: ".git/"

#wired network with no active directory network but system login with microsoft accountconfig.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: ".git/"

Hope it helps those who are trying to make this work with Hyper-V.

Popular posts from this blog

Working hours in six months to a year

I usually try to look for how many hours I have worked on a given project and what hours that I  spend on learning or network management tasks.

Below I have added some hours calculation, after finding the breakdown by months from Berkeley website.


Credit: http://controller.berkeley.edu/payroll/payroll-system-pps/pps-training-materials/number-working-hours-month

2017Working hours six months (Jan 1st - Jun 30th): 
130 days x 8 hours =  1040 hours


Working hours six months (Jul 1st - Dec 31th): 
130 days x 8 hours =  1040 hours

Working hours for the year:
1040 hours + 1040 hours = 2080 hours
MonthWorking Days in the monthMonthly Working Hrs1/2 of working hrsMidpoint of working days in the monthDates of HolidaysJanuary22176888 a.m. 1/172,16February20160808 a.m. 2/1520March2318492Noon 3/1631April20160808 a.m. 4/17May2318492Noon 5/1629June22176888 a.m. 6/16July2116884Noon 7/174August2318492Noon 8/16September2116884Noon 9/154October22176888 a.m. 10/17November22176888 a.m. 11/1610,23,24December21168…