Sur la machine hôte, ouvrez /etc/network/interfaces
Déclarez une nouvelle interface en ajoutant les lignes suivantes :
auto vmbr2
iface vmbr2 inet static
address 10.0.0.1
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
| <?php | |
| namespace Domain\Model; | |
| /** | |
| * Behavior for parameters classes | |
| * | |
| * For a given attribute, it will add methods `getXxx`, `setXxx`, `isXxx` and `hasXxx` | |
| * ex: | |
| * an attribute `$foo` will be settable with `setFoo('bar')` |
Sur la machine hôte, ouvrez /etc/network/interfaces
Déclarez une nouvelle interface en ajoutant les lignes suivantes :
auto vmbr2
iface vmbr2 inet static
address 10.0.0.1
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
| <?php | |
| namespace ChessyWeb\Bundle\CatteryBundle\Controller; | |
| use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
| use Symfony\Component\Yaml\Parser; | |
| use Parsedown; | |
| use ParsedownExtra; | |
| class DocumentationController extends Controller |
| # Export d'une box | |
| vagrant package existing_instance_name --output new_instance_name.box | |
| # Ajout d'une box en local | |
| vagrant box add new_instance_name new_instance_name.box |