[codespell] Fixing Spelling Mistakes

This is the first in a series of commits to add support for codespell. This is continuning the process completed in ironic-python-agent.

Future Commits will add a Tox Target, CI support and potentially a git-blame-ignore-revs file if their are lots of spelling mistakes that could clutter git blame.

Change-Id: I6ce80cc993cdd4c8d38266f3ff3f8f134f0fc5a9
This commit is contained in:
Sharpz7 2024-01-26 04:11:31 +00:00
parent bdbbc53885
commit a48825d260
11 changed files with 17 additions and 17 deletions

View File

@ -23,7 +23,7 @@ done
case "$DISTRO_NAME" in
fedora|centos|rhel)
${YUM:-yum} remove -y postfix gcc make
# Remove webkit... Save ~26MB. This is a ramdisk, not a web brower.
# Remove webkit... Save ~26MB. This is a ramdisk, not a web browser.
${YUM:-yum} remove -y webkit2gtk3-jsc libproxy-webkitgtk4 || true
# Remove polkit... Save ~23 MB. This is a ramdisk, not a desktop.
${YUM:-yum} remove -y polkit polkit-libs PackageKit polkit-pkla-compat || true

View File

@ -7,7 +7,7 @@ If enabled without any environment variables set to modify configuration,
this element will enable TLS API support in IPA with a self-signed certificate
and key created at build time.
Optionally, you can provide your own SSL certifiate and key, and optionally
Optionally, you can provide your own SSL certificate and key, and optionally
ca, via the following environment variables. They should be set to an
accessible path on the build systems filesystem. If set, they will be copied
into the built ramdisk, and IPA will be configured to use them.

View File

@ -28,7 +28,7 @@ sudo ln -s ./sbin/init ./
# long standing systemd bug cases where it may, depending on
# underlying OS config/version, try to open the random number
# generator before initializing.
# This class of issue has appeared frquently with systemd,
# This class of issue has appeared frequently with systemd,
# https://github.com/systemd/systemd/issues/4167 is a commonly
# referenced example of this behavior.
if ! [ -a ./dev/random ]; then

View File

@ -186,7 +186,7 @@ unlikely to be encountered. If you want to override this, change the
of directories or files under ``/usr/lib/firmware``.
Set it to an empty string to disable firmware removal.
Fimrware removed:
Firmware removed:
* ``amdgpu``
* ``netronome``
@ -275,7 +275,7 @@ Adds TLS support to ironic-python-agent-ramdisk.
By default this element will enable TLS API support in IPA with a self-signed
certificate and key created at build time.
Optionally, you can provide your own SSL certifiate and key, and optionally
Optionally, you can provide your own SSL certificate and key, and optionally
CA, via the following environment variables. They should be set to an
accessible path on the build systems filesystem. If set, they will be copied
into the built ramdisk, and IPA will be configured to use them.

View File

@ -1,6 +1,6 @@
---
fixes:
- |
Add support for TinyIPA predictible device names in dhcp.sh script by changing
Add support for TinyIPA predictable device names in dhcp.sh script by changing
of NETDEVICES variable. It will support any device from /proc/net/dev starting
with e or p letter.

View File

@ -1,8 +1,8 @@
---
fixes:
- |
Removes support for ``PYOPTIMIZE_TINYIPA``, which now casues the TinyIPA
image to be approximately 5 MB larger. This was due to an incompatability
Removes support for ``PYOPTIMIZE_TINYIPA``, which now causes the TinyIPA
image to be approximately 5 MB larger. This was due to an incompatibility
with the ``oslo.privsep`` library dependency on ``pycparser`` which cannot
load into precompiled python programs where the original source embedded
documentation is not present.

View File

@ -11,7 +11,7 @@
#
# By default, id_rsa or id_dsa keys of the user performing the build
# are baked into the image as authorized_keys for 'tc' user.
# To supply different public ssh key, befor running this script set
# To supply different public ssh key, before running this script set
# SSH_PUBLIC_KEY environment variable to point to absolute path to the key.
#
# This script produces "ansible-<tinyipa-ramdisk-name>" ramdisk that can serve

View File

@ -42,7 +42,7 @@ wget -N $TINYCORE_MIRROR_URL/$TC_RELEASE/x86_64/release/distribution_files/vmlin
cd $WORKDIR
########################################################
# Build Required Python Dependecies in a Build Directory
# Build Required Python Dependencies in a Build Directory
########################################################
# Make directory for building in
@ -142,8 +142,8 @@ $CHROOT_CMD mkdir -m777 /etc/sysconfig/tcedir
$CHROOT_CMD touch /etc/sysconfig/tcuser
$CHROOT_CMD chmod a+rwx /etc/sysconfig/tcuser
mkdir $BUILDDIR/tmp/overides
cp $WORKDIR/build_files/fakeuname $BUILDDIR/tmp/overides/uname
mkdir $BUILDDIR/tmp/overrides
cp $WORKDIR/build_files/fakeuname $BUILDDIR/tmp/overrides/uname
sudo cp $WORKDIR/build_files/ntpdate $BUILDDIR/bin/ntpdate

View File

@ -24,7 +24,7 @@ fi
# Maybe save some RAM?
#rm -rf /tmp/builtin
# Install IPA and dependecies
# Install IPA and dependencies
if ! type "ironic-python-agent" > /dev/null ; then
PIP_COMMAND="pip"
if hash pip3 2>/dev/null; then

View File

@ -24,7 +24,7 @@ export BRANCH_EXT
TC=1001
STAFF=50
CHROOT_PATH="/tmp/overides:/usr/local/sbin:/usr/local/bin:/apps/bin:/usr/sbin:/usr/bin:/sbin:/bin"
CHROOT_PATH="/tmp/overrides:/usr/local/sbin:/usr/local/bin:/apps/bin:/usr/sbin:/usr/bin:/sbin:/bin"
CHROOT_CMD="sudo chroot $DST_DIR /usr/bin/env -i PATH=$CHROOT_PATH http_proxy=$http_proxy https_proxy=$https_proxy no_proxy=$no_proxy"
TC_CHROOT_CMD="sudo chroot --userspec=$TC:$STAFF $DST_DIR /usr/bin/env -i PATH=$CHROOT_PATH http_proxy=$http_proxy https_proxy=$https_proxy no_proxy=$no_proxy"

View File

@ -85,8 +85,8 @@ if $TINYIPA_REQUIRE_IPMITOOL; then
cp $WORKDIR/build_files/ipmitool.* $FINALDIR/tmp/builtin/optional
fi
mkdir $FINALDIR/tmp/overides
cp $WORKDIR/build_files/fakeuname $FINALDIR/tmp/overides/uname
mkdir $FINALDIR/tmp/overrides
cp $WORKDIR/build_files/fakeuname $FINALDIR/tmp/overrides/uname
sudo cp $WORKDIR/build_files/ntpdate $FINALDIR/bin/ntpdate
sudo chmod 755 $FINALDIR/bin/ntpdate
@ -181,7 +181,7 @@ sudo sed -i '/# Main/a NOZSWAP=1' "$FINALDIR/etc/init.d/tc-config"
# Place ipv6 modprobe config so the kernel support loads.
sudo cp "$WORKDIR/build_files/modprobe.conf" "$FINALDIR/etc/modproble.conf"
# NOTE(rpittau): workaorund for hwclock
# NOTE(rpittau): workaround for hwclock
# The adjtime file used by hwclock in tinycore is /var/lib/hwclock/adjtime
# but for some reason (bug?) the file is not created when hwclock is
# invoked, causing hwclock to fail when using certain options, for example