Blame view

test.sh 355 Bytes
5721892d   hmalti   AvancĂ©es
1
2
  #bash baleine.sh bridge create mybridge 192.168.42.1
  #bash baleine.sh container create -i TEST -c mycontainer -b mybridge -a 192.168.42.2 -p /usr/sbin/apache2
b1087939   hmalti   Ajout commandes
3
  
5cf93464   hmalti   Ajout interfaces ...
4
  
055618a3   hmalti   Ajout hash interf...
5
6
7
8
  PATH_IMAGE="/var/lib/baleine/images"
  NOM_IMAGE="myimage"
  PATH_BALEINE="/var/lib/baleine"
  NOM_CONTAINER="mycontainer"
5cf93464   hmalti   Ajout interfaces ...
9
  
055618a3   hmalti   Ajout hash interf...
10
  cp $PATH_IMAGE/$NOM_IMAGE $PATH_BALEINE/containers/$NOM_CONTAINER/$NOM_IMAGE