In the previous chapter we talked about a tragedy, through SCVMM2012 R2(known as the SP1) deploying a Linux virtual machine does not have a gateway, which creates minor problems in production.
The solution is very simple, but the user who is not familiar with Linux certainly does not know, in addition this problem exists in the Chinese version of SCVMM2012 R2, other languages unknown
============ small tricks to solve the great tragedy =========
A VHD file of Linux that inherits the VMM agent component was obtained in the previous chapter. When deploying VM templates through it, note under the Scripts tab, enter two commands: "Echo dns1=192.168.136.1>>/etc/sysconfig/network-scripts/ifcfg-eth1" and " Service network restart, which is intended to manually specify the DNS of the network card and to restart the network service.
The 192.168.136.1 of this example is the DNS name
650) this.width=650; "src=" Http://www.ny9s.com/wp-content/uploads/2014/05/051214_0833_1.png "style=" border:0px; margin:0px auto;padding:0px; "alt=" 051214_0833_1.png "/>
It is also important to note that the pre-templated network card is eth0, and the network card through the templated deployment is eth1, when the network card operation, this is very critical (test environment CentOS6.4).
You can also assign a root password to a Linux virtual machine, but the overall configuration option is a lot less than windows, and you know that Windows is a pro-son after all.
650) this.width=650; "src=" Http://www.ny9s.com/wp-content/uploads/2014/05/051214_0833_2.png "style=" border:0px; margin:0px auto;padding:0px; "alt=" 051214_0833_2.png "/>
You can also find that the deployment of a completed virtual machine to a virgin login is being deployed by the Hyper-V host used by it .... In addition, the machine name has changed according to its own expectations.
650) this.width=650; "src=" Http://www.ny9s.com/wp-content/uploads/2014/05/051214_0833_3.png "style=" border:0px; margin:0px auto;padding:0px; "alt=" 051214_0833_3.png "/>
This article from "Nine Uncle-Enterprise informatization process" blog, please be sure to keep this source http://jiushu.blog.51cto.com/972756/1409965