This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Install required package | |
sudo yum install -y opensc | |
authconfig --smartcardmodule=/usr/lib64/opensc-pkcs11.so --update | |
# To activate the DNIe | |
# Open firefox | |
# Preferencies->Advanced->Certificates->Security Devices -> Load | |
# Module name: OpenSC PKCS#11. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/openstack/tripleo-docs | |
cd tripleo-docs | |
for f in $(find . -name '*.rst' -or -name '*.txt'); do echo $f ; aspell list < $f | sort | uniq -c ; done | more |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum install libguestfs-tools -y | |
mkdir /tmp/overcloud-full | |
guestmount -a overcloud-full.qcow2 -i --rw /tmp/overcloud-full | |
##Make changes here.. | |
#Edit /opt/puppet-modules/.... to fit your needs... | |
sudo umount /tmp/overcloud-full | |
glance image-delete overcloud-full | |
glance image-create --name overcloud-full --file overcloud-full.qcow2 --disk-format qcow2 --container-format bare |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### REPO SETUP ### | |
# dictionary (keys are repo names, values are base URLs) | |
instack_host_repos_baseurls: | |
# bash snippet | |
instack_host_repos_cmd: | | |
export STABLE_RELEASE=liberty | |
export basearch=liberty | |
sudo curl -o /etc/yum.repos.d/delorean-liberty.repo https://trunk.rdoproject.org/centos7-liberty/current/delorean.repo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Execute on the hypervisor: | |
sudo useradd stack | |
echo "stack:stack" | chpasswd | |
echo "stack ALL=(root) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/stack | |
sudo chmod 0440 /etc/sudoers.d/stack | |
su - stack | |
sudo yum -y install epel-release | |
sudo yum -y install yum-plugin-priorities |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Execute on the hypervisor: | |
sudo useradd stack | |
echo "stack:stack" | chpasswd | |
echo "stack ALL=(root) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/stack | |
sudo chmod 0440 /etc/sudoers.d/stack | |
su - stack | |
sudo yum -y install epel-release | |
### | |
#Change it for different OpenStack versions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Execute on the hypervisor: | |
sudo useradd stack | |
echo "stack:stack" | chpasswd | |
echo "stack ALL=(root) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/stack | |
sudo chmod 0440 /etc/sudoers.d/stack | |
su - stack | |
sudo yum -y install epel-release | |
sudo yum -y install yum-plugin-priorities | |
### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Execute on the hypervisor: | |
sudo useradd stack | |
echo "stack:stack" | chpasswd | |
echo "stack ALL=(root) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/stack | |
sudo chmod 0440 /etc/sudoers.d/stack | |
su - stack | |
sudo yum -y install epel-release | |
sudo yum -y install yum-plugin-priorities |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deployment tips for puppet-tripleo | |
---------------------------------- | |
This section will describe different ways of debugging puppet-tripleo changes. | |
Deploying puppet-tripleo using gerrit patches or source code repositories | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In some cases, dependencies should be merged first in order to test newer | |
patches when adding new features to THT. With the following procedure, the user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to use the ADXL345 with a Raspberry Pi 3 | |
Shoping list: | |
Solder: https://www.amazon.es/gp/product/B005I4QCB4 13.40 | |
Solder support: https://www.amazon.es/gp/product/B001BMSBD4 6.30 | |
Solder wire: https://www.amazon.es/gp/product/B000LFTN1G 5.72 | |
Flux: https://www.amazon.es/gp/product/B00CIOVF8W 5.93 | |
JUmper kit: https://www.amazon.es/gp/product/B0144HG2RE 6.99 | |
Raspberry Pi 3: https://www.amazon.es/gp/product/B01CD5VC92 41.95 |
OlderNewer