Skip to content

Instantly share code, notes, and snippets.

@sufuf3
Last active June 18, 2018 05:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sufuf3/2ad359a78bf8992576e83777dbb739f0 to your computer and use it in GitHub Desktop.
Save sufuf3/2ad359a78bf8992576e83777dbb739f0 to your computer and use it in GitHub Desktop.
#!/bin/sh
curl -o ~/cord-bootstrap.sh https://raw.githubusercontent.com/opencord/cord/cord-5.0/scripts/cord-bootstrap.sh
chmod +x cord-bootstrap.sh
./cord-bootstrap.sh -d
export VAGRANT_SERVER_URL="https://vagrantcloud.com"
logout
login
time bash ./cord-bootstrap.sh -v -x -t "PODCONFIG=rcord-controlkube.yml config" \
-t "build" | tee -a ~/setup.log
@sufuf3
Copy link
Author

sufuf3 commented Mar 14, 2018

curl -o ~/cord-bootstrap.sh https://raw.githubusercontent.com/opencord/cord/cord-5.0/scripts/cord-bootstrap.sh
chmod +x cord-bootstrap.sh
./cord-bootstrap.sh -d
export VAGRANT_SERVER_URL="https://vagrantcloud.com"
./cord-bootstrap.sh -v
cd ~/cord/build/ && make xos-teardown; make clean-openstack; make clean-profile
cd ~/cord/build/genconfig/ && rm -rf cord_* config.* inventory.ini
cd ~/cord/podconfig/ && wget https://raw.githubusercontent.com/opencord/cord/cord-4.1/podconfig/rcord-virtual.yml
make PODCONFIG=rcord-virtual.yml config
cd ~/cord/build/ && make -j4 build; make compute-node-refresh

@sufuf3
Copy link
Author

sufuf3 commented Mar 14, 2018

First version

#!/bin/sh

curl -o ~/cord-bootstrap.sh https://raw.githubusercontent.com/opencord/cord/cord-4.0/scripts/cord-bootstrap.sh
chmod +x cord-bootstrap.sh
./cord-bootstrap.sh -d
export VAGRANT_SERVER_URL="https://vagrantcloud.com"
./cord-bootstrap.sh -v
cd ~/cord/build/ && make xos-teardown; make clean-openstack; make clean-profile
cd ~/cord/build/genconfig/ && rm -rf cord_* config.* inventory.ini
cd ~/cord/build/ && make config PODCONFIG=mcord-ng40-virtual.yml
cd ~/cord/build/ && make -j4 build; make compute-node-refresh

cd ~/cord/build/podconfig/ && wget https://raw.githubusercontent.com/opencord/mcord/cord-5.0/podconfig/mcord-ng40-virtual.yml

@sufuf3
Copy link
Author

sufuf3 commented Mar 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment