Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failures preventing VM netboots #43

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions config/dir-sot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@ ServerClient:
SavePath: "/var/vaquero"
LocalDir:
PollInterval: 1
Etcd:
Endpoints:
- "http://10.10.10.5:2379"
- "http://10.10.10.6:2379"
- "http://10.10.10.7:2379"
Timeout: 5
Retry: 3

# Define one of LocalDir or Etcd endpoints.
#Etcd:
# Endpoints:
# - "http://10.10.10.5:2379"
# - "http://10.10.10.6:2379"
# - "http://10.10.10.7:2379"
# Timeout: 5
# Retry: 3

SoT:
- Local:
ID: vaquero-local
Expand Down
8 changes: 4 additions & 4 deletions create_cluster/cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ if [ $PXE_COUNT > 0 ]
VBoxManage storageattach $vmName --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium $vmName.vdi;
VBoxManage modifyvm $vmName --boot1 net --memory 2048;

VBoxManage modifyvm $vmName --nic1 natnetwork --nat-network1 vaq;
VBoxManage modifyvm $vmName --nictype1 82543GC --nicbootprio1 4 --cableconnected1 on;
VBoxManage modifyvm $vmName --nic2 natnetwork --nat-network2 vaq;
VBoxManage modifyvm $vmName --nictype2 82543GC --nicbootprio2 4 --cableconnected2 on;


VBoxManage modifyvm $vmName --nic2 intnet --intnet2 vaquero --nicpromisc2 allow-all;
VBoxManage modifyvm $vmName --nictype2 82543GC --macaddress2 $mac --nicbootprio2 1 --cableconnected2 on;
VBoxManage modifyvm $vmName --nic1 intnet --intnet1 vaquero --nicpromisc1 allow-all;
VBoxManage modifyvm $vmName --nictype1 82543GC --macaddress1 $mac --nicbootprio1 1 --cableconnected1 on;

VBoxManage modifyvm $vmName --boot1 disk --boot2 net

Expand Down