09be84beee
A virtual machine isn't very useful if there are no means to access it; let's bring up the basic networking and provide root SSH access via pre-existing public key. As the remote access with known default credentials is roughly equivalent to just lending one's VMs to anyone with network access to it, the fallback root password is now exterminated; you have to provide one (or a long enough random string if you plan to use keys only, see e.g. apg utility).
12 lines
272 B
Makefile
12 lines
272 B
Makefile
use/vm-net:
|
|
@$(call add_feature)
|
|
@$(call add,THE_PACKAGES,etcnet)
|
|
|
|
use/vm-net/dhcp: use/vm-net
|
|
@$(call add,THE_PACKAGES,dhcpcd)
|
|
@$(call set,VM_NET,dhcp)
|
|
|
|
# need to further add VM_NET_IPV4ADDR and VM_NET_IPV4GW
|
|
use/vm-net/static: use/vm-net
|
|
@$(call set,VM_NET,static)
|