[lxc-users] lxd 2.15 broke "lxc file push -r"?
Tomasz Chmielewski
mangoo at wpkg.org
Thu Jun 29 03:24:46 UTC 2017
With lxd 2.14:
# mkdir /tmp/testdir
# touch /tmp/testdir/file1 /tmp/testdir/file2
# lxc file push -r /tmp/testdir/ testvm1/tmp # <---- note the trailing slash after /tmp/testdir/
# echo $?
0
# lxc exec testvm1 ls /tmp
file1 file2
With lxd 2.15:
# mkdir /tmp/testdir
# touch /tmp/testdir/file1 /tmp/testdir/file2
# lxc file push -r /tmp/testdir/ testvm2/tmp # <---- note the trailing slash after /tmp/testdir/
# lxc exec testvm2 ls /tmp
testdir
# lxc exec testvm2 ls /tmp/testdir
file1 file2
This breaks many scripts!
--
Tomasz Chmielewski
https://lxadm.com
More information about the lxc-users
mailing list