Fix a typo in cp, -L is the correct flag
This commit is contained in:
parent
0e12f9b064
commit
89b96e213b
1 changed files with 1 additions and 1 deletions
2
vps2arch
2
vps2arch
|
@ -40,7 +40,7 @@ download_and_extract_bootstrap() {
|
||||||
sha1sum -c sha1sums.txt || exit 1
|
sha1sum -c sha1sums.txt || exit 1
|
||||||
tar -xpzf "$filename"
|
tar -xpzf "$filename"
|
||||||
rm -f "$filename"
|
rm -f "$filename"
|
||||||
cp -R /etc/resolv.conf "/root.$cpu_type/etc"
|
cp -L /etc/resolv.conf "/root.$cpu_type/etc"
|
||||||
mount --rbind /dev "/root.$cpu_type/dev"
|
mount --rbind /dev "/root.$cpu_type/dev"
|
||||||
mount -t proc proc "/root.$cpu_type/proc"
|
mount -t proc proc "/root.$cpu_type/proc"
|
||||||
mount -t sysfs sys "/root.$cpu_type/sys"
|
mount -t sysfs sys "/root.$cpu_type/sys"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue