Fix ip route show parsing
This commit is contained in:
parent
2f37e22c89
commit
6f43d4c31e
1 changed files with 1 additions and 1 deletions
2
vps2arch
2
vps2arch
|
@ -158,7 +158,7 @@ configure_bootloader() {
|
||||||
configure_network() {
|
configure_network() {
|
||||||
local gateway dev ip
|
local gateway dev ip
|
||||||
|
|
||||||
read -r _ _ gateway _ dev <<-EOF
|
read -r _ _ gateway _ dev _ <<-EOF
|
||||||
$(ip route show 0.0.0.0/0)
|
$(ip route show 0.0.0.0/0)
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue