Why is it that after running clloud-init using run-once option, all the other configurations take effect except the network configuration?

1、This is the cloud-init configure. 2. After booting, the network is:

try to use enp1s0 as network interface name. network interface name was something like eth0 in the past. 在 2021/8/5 12:13, Tommy Sway 写道:
1、This is the cloud-init configure.
2. After booting, the network is:
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/E4ISWU2NIWGONU...

We tried eth1 and enp1s0, but both didn't work. From: users-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of Adam Xu Sent: Thursday, August 5, 2021 1:12 PM To: users@ovirt.org Subject: [ovirt-users] Re: Why is it that after running clloud-init using run-once option, all the other configurations take effect except the network configuration? try to use enp1s0 as network interface name. network interface name was something like eth0 in the past. 在 2021/8/5 12:13, Tommy Sway 写道: 1、This is the cloud-init configure. 2. After booting, the network is: _______________________________________________ Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org> Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/E4ISWU2NIWGONU...

Please create a new vm in your ovirt. and check the actual network interface name. 在 2021/8/5 14:01, Tommy Sway 写道:
We tried eth1 and enp1s0, but both didn't work.
*From:*users-bounces@ovirt.org <users-bounces@ovirt.org> *On Behalf Of *Adam Xu *Sent:* Thursday, August 5, 2021 1:12 PM *To:* users@ovirt.org *Subject:* [ovirt-users] Re: Why is it that after running clloud-init using run-once option, all the other configurations take effect except the network configuration?
try to use enp1s0 as network interface name.
network interface name was something like eth0 in the past.
在2021/8/5 12:13, Tommy Sway 写道:
1、This is the cloud-init configure.
2. After booting, the network is:
_______________________________________________
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org>
Privacy Statement: https://www.ovirt.org/privacy-policy.html <https://www.ovirt.org/privacy-policy.html>
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ <https://www.ovirt.org/community/about/community-guidelines/>
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/E4ISWU2NIWGONU... <https://lists.ovirt.org/archives/list/users@ovirt.org/message/E4ISWU2NIWGONUEA7AYDKB5YIXRGJL7P/>
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/XYEGE65BNIVQ7I...

The default network interface name of the newly created vm is: eth0 From: users-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of Adam Xu Sent: Thursday, August 5, 2021 3:34 PM To: users@ovirt.org Subject: [ovirt-users] Re: Why is it that after running clloud-init using run-once option, all the other configurations take effect except the network configuration? Please create a new vm in your ovirt. and check the actual network interface name. 在 2021/8/5 14:01, Tommy Sway 写道: We tried eth1 and enp1s0, but both didn't work. From: users-bounces@ovirt.org <mailto:users-bounces@ovirt.org> <mailto:users-bounces@ovirt.org> <users-bounces@ovirt.org> On Behalf Of Adam Xu Sent: Thursday, August 5, 2021 1:12 PM To: users@ovirt.org <mailto:users@ovirt.org> Subject: [ovirt-users] Re: Why is it that after running clloud-init using run-once option, all the other configurations take effect except the network configuration? try to use enp1s0 as network interface name. network interface name was something like eth0 in the past. 在 2021/8/5 12:13, Tommy Sway 写道: 1、This is the cloud-init configure. 2. After booting, the network is: _______________________________________________ Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org> Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/E4ISWU2NIWGONU... _______________________________________________ Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org> Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/XYEGE65BNIVQ7I...

Then your network interface name shoud be eth0 . 在 2021/8/5 15:50, Tommy Sway 写道:
The default network interface name of the newly created vm is: eth0
*From:*users-bounces@ovirt.org <users-bounces@ovirt.org> *On Behalf Of *Adam Xu *Sent:* Thursday, August 5, 2021 3:34 PM *To:* users@ovirt.org *Subject:* [ovirt-users] Re: Why is it that after running clloud-init using run-once option, all the other configurations take effect except the network configuration?
Please create a new vm in your ovirt. and check the actual network interface name.
在2021/8/5 14:01, Tommy Sway 写道:
We tried eth1 and enp1s0, but both didn't work.
*From:*users-bounces@ovirt.org <mailto:users-bounces@ovirt.org> <users-bounces@ovirt.org> <mailto:users-bounces@ovirt.org> *On Behalf Of *Adam Xu *Sent:* Thursday, August 5, 2021 1:12 PM *To:* users@ovirt.org <mailto:users@ovirt.org> *Subject:* [ovirt-users] Re: Why is it that after running clloud-init using run-once option, all the other configurations take effect except the network configuration?
try to use enp1s0 as network interface name.
network interface name was something like eth0 in the past.
在2021/8/5 12:13, Tommy Sway 写道:
1、This is the cloud-init configure.
2. After booting, the network is:
_______________________________________________
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org>
Privacy Statement: https://www.ovirt.org/privacy-policy.html <https://www.ovirt.org/privacy-policy.html>
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ <https://www.ovirt.org/community/about/community-guidelines/>
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/E4ISWU2NIWGONU... <https://lists.ovirt.org/archives/list/users@ovirt.org/message/E4ISWU2NIWGONUEA7AYDKB5YIXRGJL7P/>
_______________________________________________
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org>
Privacy Statement: https://www.ovirt.org/privacy-policy.html <https://www.ovirt.org/privacy-policy.html>
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ <https://www.ovirt.org/community/about/community-guidelines/>
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/XYEGE65BNIVQ7I... <https://lists.ovirt.org/archives/list/users@ovirt.org/message/XYEGE65BNIVQ7IOW3VG2EPOTCOMB5B45/>
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/HPGIB56PPV7UE6...

Thank you for your reply. Here's what happened: 1. When creating the VM, I have created a new network interface card (NIC), that is, eth0 2. After the virtual machine is created, I want to personalize other configurations, such as adding new network cards, through the Clout init interface. So I configured to add eth1 network adapter on the run-once interface, but it didn't work. From: users-bounces@ovirt.org <users-bounces@ovirt.org> On Behalf Of Adam Xu Sent: Thursday, August 5, 2021 4:24 PM To: users@ovirt.org Subject: [ovirt-users] Re: Why is it that after running clloud-init using run-once option, all the other configurations take effect except the network configuration? Then your network interface name shoud be eth0 . 在 2021/8/5 15:50, Tommy Sway 写道: The default network interface name of the newly created vm is: eth0 From: users-bounces@ovirt.org <mailto:users-bounces@ovirt.org> <mailto:users-bounces@ovirt.org> <users-bounces@ovirt.org> On Behalf Of Adam Xu Sent: Thursday, August 5, 2021 3:34 PM To: users@ovirt.org <mailto:users@ovirt.org> Subject: [ovirt-users] Re: Why is it that after running clloud-init using run-once option, all the other configurations take effect except the network configuration? Please create a new vm in your ovirt. and check the actual network interface name. 在 2021/8/5 14:01, Tommy Sway 写道: We tried eth1 and enp1s0, but both didn't work. From: users-bounces@ovirt.org <mailto:users-bounces@ovirt.org> <mailto:users-bounces@ovirt.org> <users-bounces@ovirt.org> On Behalf Of Adam Xu Sent: Thursday, August 5, 2021 1:12 PM To: users@ovirt.org <mailto:users@ovirt.org> Subject: [ovirt-users] Re: Why is it that after running clloud-init using run-once option, all the other configurations take effect except the network configuration? try to use enp1s0 as network interface name. network interface name was something like eth0 in the past. 在 2021/8/5 12:13, Tommy Sway 写道: 1、This is the cloud-init configure. 2. After booting, the network is: _______________________________________________ Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org> Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/E4ISWU2NIWGONU... _______________________________________________ Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org> Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/XYEGE65BNIVQ7I... _______________________________________________ Users mailing list -- users@ovirt.org <mailto:users@ovirt.org> To unsubscribe send an email to users-leave@ovirt.org <mailto:users-leave@ovirt.org> Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/HPGIB56PPV7UE6...
participants (2)
-
Adam Xu
-
Tommy Sway