Comment 55 for bug 1367324

Revision history for this message
Alexander Gubanov (ogubanov) wrote :

I checked it on mos 5.1.1 and 6.0 - fixed.
Proof:

release: 5.1.1
build_id: 2014-11-23_21-01-00
build_number: '34'

[root@node-2 ~]# nova boot --image TestVM --file /data.txt=./data.txt --flavor m1.tiny --nic net-id=07434cbc-5a17-4da4-87e0-353236dcb1c6 test3

[root@node-2 ~]# ip netns exec qdhcp-07434cbc-5a17-4da4-87e0-353236dcb1c6 ssh cirros@192.168.111.6
cirros@192.168.111.6's password:
$ ls -l /data*
-rw-r--r-- 1 root root 13 Dec 12 08:12 /data.txt
$ cat /data*
Hello, World

----

release: '6.0'
build_id: 2014-12-09_19-59-53
build_number: '48'

[root@node-1 ~]# echo 'hello' > data.txt
[root@node-1 ~]# nova boot --image TestVM --file /data.txt=./data.txt --flavor m1.micro --nic net-id=5ed80282-2dbc-4d3b-88bf-0c552a923b8a test2
[root@node-1 ~]# ip netns exec qrouter-c1b03574-e458-4c1a-a3a5-71e3e80fc777 ssh cirros@192.168.111.5
The authenticity of host '192.168.111.5 (192.168.111.5)' can't be established.
cirros@192.168.111.5's password:
$ cat /data.txt
hello