Skip to content

Commit

Permalink
fix(doc): Updated solution on multiples VM with same ip (#1972)
Browse files Browse the repository at this point in the history
fix(doc): Update code-block formatting

---------

Co-authored-by: Francesc Guasch <frankie@etsetb.upc.edu>
  • Loading branch information
DanielDiaz4401 and frankiejol committed Jul 10, 2023
1 parent 96cf048 commit 3d3fd30
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/docs/troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,15 @@ To resolve this issue, edit the file ``/etc/netplan/<configuration-file>.yaml``

Add the following lines to the network configuration for each cloned machine:

.. highlight:: yaml
.. code-block:: yaml
dhcp4: yes
dhcp-identifier: mac
Apply the updated Netplan configuration:

.. prompt:: bash

sudo netplan apply

With these steps, each cloned virtual machine will be assigned a unique IP address based on its MAC address, resolving the issue of both machines receiving the same IP.
With these steps, each cloned virtual machine will be assigned a unique IP address based on its MAC address, resolving the issue of both machines receiving the same IP.

0 comments on commit 3d3fd30

Please sign in to comment.