Hot answers tagged

2

Run Disk2Vhd inside the VM. It uses the volume snapshot capabilities of Windows to make a copy of the hard drive and write it to a VHD. From there, you are free to use that VHD on your new VM, or convert as needed. https://technet.microsoft.com/en-us/sysinternals/ee656415.aspx When you first boot up the VM, do not allow it to access the network. Change the ...


1

It's not a flashy, but you could always run a shared session over VNC - that does allow multiple connections to share the same session and display. x11vnc is a common example which works well in this situation. Keep in mind that VNC doesn't handle encryption so running through a encrypted SSH/VPN tunnel is highly recommended.


1

VMware allows to create VM images from physical machines - you could try to create an image from a the VM and then move it to another physical server. I've never tried to use it with with virtual machines, so I'm not sure if it will work, but it's worth a try. It works with VMware ESx hyper-visor, but usually it's easy to convert a VM image to another type (...


1

Here's how I do this: I create VMs with a PowerShell script as part of the script I copy an existing VHDX with a sysprep'ed OS. I then mount the VHDX and create a unattend.xml as well as a \Windows\Setup\Scripts\SetupComplete.cmd file, both are specific to the new VM. After dismounting the VHDX I can start the VM and everything else is automatic.


1

Your code seems OK (except for sometimes writing port 9901 and sometimes 9001). Your problem is that your VMWare host is NATting all the outbound packets. You need NAT to rewrite the source IP of your VM to correspond to the 192.168.2.* network. To do this for many source IPs (here you have two, your VM and your physical machine), NAT also needs to be able ...


1

This isn't a single command, but perhaps this will work: $ vagrant up --no-provision && vagrant provision


1

There is an old vagrant module for ansible in GitHub that might still work, but seems to be unmaintained. If you have interest enough in going this route, you might want to revamp it. Other than that, you can still use the command module.


1

Windows 10 is essentially the same version of Windows that is found in Windows Server 2016. Server 2012R2 is the same version as Windows 8.1 So, to move a virtual machine from Windows 10 to Windows 8.1 (Server 2012R2) you need to first create the machine with a down-level version, using PowerShell or WMI. The Hyper-V Manager will always create a current-...


1

It seems you are looking for a solution that may be very specific to your instance. I would pose the question of why running a VM is not working for you (in either instance of Win/Linux or Linux/Win). I will give a few ideas just to toss around and see what might be the best solution for you. Since I do not know what you use each OS for I'm going to ...


1

If I understand your question, you would like to have connection between two your servers and at the same time you want to have connection to your servers from Internet. Look like you have two NICs with default gateway. In that case server could send traffic to wrong gateway and could be unreacheble. Usually removing default gateway on one NIC(usually it ...


1

Containers run on single kernel. In other words all containers have single kernel (Host OS). Whereas on other hand hypervisors have multiple kernals. Each virtual machine runs on different kernel. And "docker run ubuntu" is just like to creating chroot environment.



Only top voted, non community-wiki answers of a minimum length are eligible