6.5.4 Developing the Deployment Script
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 55/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- azure, mysql, shell
- Domain
- cloud, documentation
Research direction
Find section 6.5.4, “Developing the Deployment Script,” and inspect the deployment script around the two debconf-set-selections commands. Reproduce the script syntax error in the described Azure setup, then update the curriculum or script so the documented commands run successfully and verify the deployment step completes.
Written by the indexing model from the issue text.
Description
6.5.4. Developing the Deployment Script
These lines in the provided script:
set environment variables that are necessary for MySQL installation
debconf-set-selections <<< "mysql-community-server mysql-community-server/root-pass password lc-password"
debconf-set-selections <<< "mysql-community-server mysql-community-server/re-root-pass password lc-password"
gave the following error:
/var/lib/waagent/run-command/download/1/script.sh: 19: /var/lib/waagent/run-command/download/1/script.sh: Syntax error: redirection unexpectedSo I changed the lines to the following:
echo "mysql-community-server mysql-community-server/root-pass password lc-password" | sudo debconf-set-selections
echo "mysql-community-server mysql-community-server/re-root-pass password lc-password" | sudo debconf-set-selections
to get past the error. Not sure if this is an "error" or if it was something unique about my Azure instance, but the VM was set up in the manner described in the preceding material so I expect others might get the same error.
- Dominant language
- CSS
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from LaunchCodeEducation/azure
-
Difficulty 1/5 Under an hour Newbie friendliness 62/100
LaunchCodeEducation/azure#113 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
LaunchCodeEducation/azure#64 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
LaunchCodeEducation/azure#115 ·
-
2.5.2Open
Difficulty 1/5 Under an hour Newbie friendliness 48/100
LaunchCodeEducation/azure#114 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
LaunchCodeEducation/azure#109 ·
All issues in LaunchCodeEducation/azure
Similar issues
-
[EC2] DescribeAvailabilityZones should return real AWS error for unknown zone namePossibly taken @omatheusmesmo claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Cloud wizard credentials for AWS, Azure and Google are not written through to the session storePossibly taken @dpage claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
pgadmin-org/pgadmin4#10527 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
service-details` filter crashes with KeyError on VPC endpoints without ServiceName (e.g. VPC Lattice)Possibly taken @areddyn claimed this today. Openkind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
cloud-custodian/cloud-custodian#11199 · 1 comment ·
Maintainers usually reply within 5 days