add script for two
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
876c4280f7
commit
5c22ee82db
5 changed files with 68 additions and 1 deletions
29
README.md
29
README.md
|
|
@ -1,3 +1,30 @@
|
|||
# Two
|
||||
|
||||
this project is Two with bash on first move
|
||||
this project is Two with bash on first move
|
||||
|
||||
|
||||
## Prepare kvm
|
||||
|
||||
```
|
||||
apt-get install -y \
|
||||
vim \
|
||||
htop \
|
||||
socat \
|
||||
ebtables \ # filtre arp
|
||||
qemu-system qemu-utils qemu-kvm \ # qemu install
|
||||
genisoimage \ # cloud-init file
|
||||
curl \
|
||||
whois \
|
||||
tcpdump \
|
||||
bridge-utils # bridge add
|
||||
```
|
||||
|
||||
|
||||
```
|
||||
ebtables -L --Lc
|
||||
ebtables -D FORWARD -p arp --arp-op Request --arp-ip-dst 240.0.0.1 -j DROP
|
||||
ebtables -A FORWARD -p arp --arp-op Request --arp-ip-dst 240.0.0.1 -j DROP
|
||||
ebtables -L --Lc
|
||||
|
||||
genisoimage -output seed.iso -volid cidata -joliet -rock meta-data user-data network-config
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue