VM CentOS7.2 can not change the interface nameHow can I automatically load my config file in Grub2?Centos...

How do I present a future free of gender stereotypes without being jarring or overpowering the narrative?

Have any large aeroplanes been landed - safely and without damage - in locations that they could not be flown away from?

Could this problem be tackled using Mathematica?

How can I tell what kind of genitals people have without gender?

How did researchers find articles before the Internet and the computer era?

Is it okay to submit a paper from a master's thesis without informing the advisor?

Single level file directory

13th chords on guitar

Sacrifice blocking creature before damage is dealt no longer working (MtG Arena)?

How to write Quran via Latex?

How to securely dispose of a smartphone?

Can a stressful Wish's Strength reduction be cured early by a Greater Restoration spell?

Thin wall to block LED light from hitting photodiode?

How to describe POV characters?

Can European countries bypass the EU and make their own individual trade deal with the U.S.?

What kind of jet plane is this?

The warming up game

How do we separate rules of logic from non-logical constraints?

Script executes loop only once

for xml path('') output

Is it okay to fade a human face just to create some space to place important content over it?

Converting Geographic Coordinates into Lambert2008 coordinates

I hit a pipe with a mower and now it won't turn

How can a valley surrounded by mountains be fertile and rainy?



VM CentOS7.2 can not change the interface name


How can I automatically load my config file in Grub2?Centos 5.01 can't connect to the internetCentos7 with Windows 8 dualboot problemsHiding the GRUB menu on Fedora 24Centos 7 disable predictable network interface names with packer/vagrantForcing HWADDR to correct itself in ifcfg-eth0 network script on boot CentOS 7Grub2-reboot # not working on FreePBX Distro 7 - Based on CentOS 7Could not load file '/etc/sysconfig/network-scripts/ifcfg-lo' when I use ifdown or ifupCentOS7 fails to start without monitorNetwork Team name is not getting set properly with kickstart






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I have a CentOS 7.2 virtual machine. when I execute the below commands to change the default interface name, seems have no effect:



1) I change the /etc/sysconfig/network-script/ifcfg-ens33 filename to ifcfg-ens10086.

2) I edit the /etc/sysconfig/network-script/ifcfg-ens10086, change the NAME and DEVICE to ens10086.

3) I edit the /etc/default/grub's GRUB_CMDLINE_LINUX param, add the net.ifnames=10086 biosdevname=10086. // I also tried net.ifnames=0 biosdevname=0
4) then I run grub command:



grub2-mkconfig -o /boot/grub2/grub.cfg 


5) reboot my CentOS 7.2



When I check the ip a, but there shows the ens33, not ens10086:



enter image description here





I also tried configure to ens22, still is ens33, why?










share|improve this question























  • access.redhat.com/documentation/en-us/red_hat_enterprise_linux/…

    – 0xSheepdog
    1 hour ago


















0















I have a CentOS 7.2 virtual machine. when I execute the below commands to change the default interface name, seems have no effect:



1) I change the /etc/sysconfig/network-script/ifcfg-ens33 filename to ifcfg-ens10086.

2) I edit the /etc/sysconfig/network-script/ifcfg-ens10086, change the NAME and DEVICE to ens10086.

3) I edit the /etc/default/grub's GRUB_CMDLINE_LINUX param, add the net.ifnames=10086 biosdevname=10086. // I also tried net.ifnames=0 biosdevname=0
4) then I run grub command:



grub2-mkconfig -o /boot/grub2/grub.cfg 


5) reboot my CentOS 7.2



When I check the ip a, but there shows the ens33, not ens10086:



enter image description here





I also tried configure to ens22, still is ens33, why?










share|improve this question























  • access.redhat.com/documentation/en-us/red_hat_enterprise_linux/…

    – 0xSheepdog
    1 hour ago














0












0








0








I have a CentOS 7.2 virtual machine. when I execute the below commands to change the default interface name, seems have no effect:



1) I change the /etc/sysconfig/network-script/ifcfg-ens33 filename to ifcfg-ens10086.

2) I edit the /etc/sysconfig/network-script/ifcfg-ens10086, change the NAME and DEVICE to ens10086.

3) I edit the /etc/default/grub's GRUB_CMDLINE_LINUX param, add the net.ifnames=10086 biosdevname=10086. // I also tried net.ifnames=0 biosdevname=0
4) then I run grub command:



grub2-mkconfig -o /boot/grub2/grub.cfg 


5) reboot my CentOS 7.2



When I check the ip a, but there shows the ens33, not ens10086:



enter image description here





I also tried configure to ens22, still is ens33, why?










share|improve this question














I have a CentOS 7.2 virtual machine. when I execute the below commands to change the default interface name, seems have no effect:



1) I change the /etc/sysconfig/network-script/ifcfg-ens33 filename to ifcfg-ens10086.

2) I edit the /etc/sysconfig/network-script/ifcfg-ens10086, change the NAME and DEVICE to ens10086.

3) I edit the /etc/default/grub's GRUB_CMDLINE_LINUX param, add the net.ifnames=10086 biosdevname=10086. // I also tried net.ifnames=0 biosdevname=0
4) then I run grub command:



grub2-mkconfig -o /boot/grub2/grub.cfg 


5) reboot my CentOS 7.2



When I check the ip a, but there shows the ens33, not ens10086:



enter image description here





I also tried configure to ens22, still is ens33, why?







centos grub2 interface






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 1 hour ago









244boy244boy

1737 bronze badges




1737 bronze badges













  • access.redhat.com/documentation/en-us/red_hat_enterprise_linux/…

    – 0xSheepdog
    1 hour ago



















  • access.redhat.com/documentation/en-us/red_hat_enterprise_linux/…

    – 0xSheepdog
    1 hour ago

















access.redhat.com/documentation/en-us/red_hat_enterprise_linux/…

– 0xSheepdog
1 hour ago





access.redhat.com/documentation/en-us/red_hat_enterprise_linux/…

– 0xSheepdog
1 hour ago










0






active

oldest

votes














Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f527159%2fvm-centos7-2-can-not-change-the-interface-name%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f527159%2fvm-centos7-2-can-not-change-the-interface-name%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...