Microsoft Private Cloud Sharing (R2) 7-linux virtual machine no DNS?

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.