xref: /aosp_15_r20/external/crosvm/tools/examples/guest/01-netcfg.yaml (revision bb4ee6a4ae7042d18b07a98463b9c8b875e44b39)
1# Copyright 2022 The ChromiumOS Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5# Configure network with static IP 192.168.10.2
6
7network:
8    version: 2
9    renderer: networkd
10    ethernets:
11        enp0s4:
12            addresses: [192.168.10.2/24]
13            nameservers:
14                addresses: [8.8.8.8]
15            gateway4: 192.168.10.1
16