Commit 43e76bd6 authored by Michael Shigorin's avatar Michael Shigorin

vm-net: feature retired

This one was replaced by the net feature completely and has been declared obsolete since 1.1.1 (a month ago). A few remaining users trivially adjusted.
parent de94641c
......@@ -72,9 +72,8 @@ endif # IMAGE_CLASS: ve
ifeq (vm,$(IMAGE_CLASS))
vm/net-static: vm/bare use/vm-net/static use/net-ssh
@$(call set,VM_NET_IPV4ADDR,10.0.2.16/24)
@$(call set,VM_NET_IPV4GW,10.0.2.2)
vm/net-static: vm/bare use/net-eth use/net-ssh
@$(call add,NET_ETH,eth0:static:10.0.2.16/24:10.0.2.2)
endif # IMAGE_CLASS: vm
......
......@@ -4,7 +4,7 @@ ifeq (vm,$(IMAGE_CLASS))
vm/bare: vm/.bare
@$(call add,BASE_PACKAGES,apt)
vm/net: vm/bare use/vm-net/dhcp use/net-ssh
vm/net: vm/bare use/net-eth/dhcp use/net-ssh
@$(call add,BASE_PACKAGES,su)
# NB: use/x11 employs some installer-feature packages
......
Эта фича устарела, более общая называется net-eth.
use/vm-net:
@$(warning obsolete feature, please upgrade to use/net-eth)
use/vm-net/dhcp: use/vm-net use/net-eth/dhcp
# need to further add VM_NET_IPV4ADDR and VM_NET_IPV4GW
use/vm-net/static: use/vm-net use/net-eth
@$(call add,NET_ETH,eth0:static:$(VM_NET_IPV4ADDR):$(VM_NET_IPV4GW))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment