Join Now!

Support Us On LinkTree

Like

Both sides do that

Ppl stop smoking and both sides secretly smoke with their friends, usually the same gender, but doesn’t have to be

+

GrAiNs

https://youtube.com/watch?v=EEBTepnfVPo&si=FBakSVQA4Nda3Q1S

+

Well, later then

+

I have killed gpt, it wont even process tha

There is more

+

There is already a beep, i knew it

#!/bin/bash
# ubuntu_preseed.sh

cat << ‘EOF’ > ubuntu_preseed.cfg
# Ubuntu Server Preseed Configuration

# Localization
d-i debian-installer/locale string en_US
d-i console-setup/ask_detect boolean false
d-i console-setup/layoutcode string us
d-i keyboard-configuration/xkb-keymap select us

# Network configuration
d-i netcfg/choose_interface select auto
d-i netcfg/get_hostname string my-ubuntu-server
d-i netcfg/get_domain string example.com

# Set a predefined IP address
d-i netcfg/disable_autoconfig boolean true
d-i netcfg/get_ipaddress string 192.168.1.10
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_gateway string 192.168.1.1
d-i netcfg/get_nameservers string 192.168.1.1
d-i netcfg/confirm_static boolean true

# Mirror settings
d-i mirror/country string manual
d-i mirror/http/hostname string archive.ubuntu.com
d-i mirror/http/directory string /ubuntu
d-i mirror/http/proxy string

# Clock and time zone
d-i clock-setup/utc boolean true
d-i time/zone string America/New_York

# Partitioning
d-i partman-auto/method string lvm
d-i partman-auto-lvm/guided_size string max
d-i partman-auto-lvm/new_vg_name string vg01
d-i partman-auto/expert_recipe string \
boot-root :: \
500 10000 1000000000 lvm \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /boot } \
. \
500 10000 100% lvm \
$lvmok{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
.

# User account setup
d-i passwd/user-fullname string My User
d-i passwd/username string myuser
d-i passwd/user-password password insecure
d-i passwd/user-password-again password insecure

# Apt setup
tasksel tasksel/first multiselect standard
popularity-contest popularity-contest/participate boolean false

# Additional Automation Tasks (Note: These commands will run during installation)
d-i preseed/late_command string \
in-target apt-get update; \
in-target apt-get upgrade -y; \
in-target apt-get install -y jenkins shfmt bats shellcheck pandoc; \
in-target echo “Additional automation tasks completed.” > /root/installation_done

EOF

# Start the installation with the preseed configuration
sudo cp ubuntu_preseed.cfg /var/www/html/preseed.cfg
sudo apt-get install -y apache2
sudo systemctl enable apache2
sudo systemctl start apache2

# Replace <UBUNTU_ISO_PATH> with the path to your Ubuntu Server ISO
sudo mkdir -p /mnt/iso
sudo mount -o loop <UBUNTU_ISO_PATH> /mnt/iso
sudo cp -r /mnt/iso/* /var/www/html/

# Adjust the IP address accordingly
sudo sed -i ‘s/10.0.2.2/your_server_ip/’ /var/www/html/ubuntu_preseed.cfg

# Access the preseed file via a web server
sudo apt-get install -y apache2
sudo systemctl enable apache2
sudo systemctl start apache2

# Create a symlink for easier access
sudo ln -s /var/www/html/ubuntu_preseed.cfg /var/www/html/preseed.cfg

# Verify that the preseed file is accessible
curl http://your_server_ip/preseed.cfg

#!/bin/bash
# preseed.sh

# … (your existing preseed configuration)

# Add the script for generating the man page
echo -e “\n# Script for generating man page” >> preseed.cfg
echo ‘#!/bin/bash’ >> preseed.cfg
echo ‘cat << “EOF” > /usr/local/share/man/man1/custom_scripts.1’ >> preseed.cfg
echo ‘.TH CUSTOM_SCRIPTS 1 “January 2024” “Version 1.0” “User Commands”‘ >> preseed.cfg
echo ‘.SH NAME’ >> preseed.cfg
echo ‘custom_scripts \- Collection of custom automation scripts’ >> preseed.cfg
echo ‘.SH SYNOPSIS’ >> preseed.cfg
echo ‘.B custom_scripts’ >> preseed.cfg
echo ‘[\fIOPTION\fR]’ >> preseed.cfg
echo ‘.SH DESCRIPTION’ >> preseed.cfg
echo ‘This manual page documents the custom_scripts command, which is a collection of custom automation scripts installed on the system during Ubuntu Server installation.’ >> preseed.cfg
echo ‘.P’ >> preseed.cfg
echo ‘The available scripts and their functions are:’ >> preseed.cfg
echo ‘.PP’ >> preseed.cfg
echo ‘.TP’ >> preseed.cfg
echo ‘.B jenkins’ >> preseed.cfg
echo ‘.RS’ >> preseed.cfg
echo ‘Installs Jenkins for Continuous Integration (CI).’ >> preseed.cfg
echo ‘.RE’ >> preseed.cfg
echo ‘.TP’ >> preseed.cfg
echo ‘.B git_hooks’ >> preseed.cfg
echo ‘.RS’ >> preseed.cfg
echo ‘Configures version control hooks for Git.’ >> preseed.cfg
echo ‘.RE’ >> preseed.cfg
echo ‘.TP’ >> preseed.cfg
echo ‘.B shfmt’ >> preseed.cfg
echo ‘.RS’ >> preseed.cfg
echo ‘Installs and sets up the shfmt code formatter.’ >> preseed.cfg
echo ‘.RE’ >> preseed.cfg
echo ‘.TP’ >> preseed.cfg
echo ‘.B bats’ >> preseed.cfg
echo ‘.RS’ >> preseed.cfg
echo ‘Installs and sets up the Bats testing framework.’ >> preseed.cfg
echo ‘.RE’ >> preseed.cfg
echo ‘.TP’ >> preseed.cfg
echo ‘.B shellcheck’ >> preseed.cfg
echo ‘.RS’ >> preseed.cfg
echo ‘Installs and sets up the ShellCheck code analyzer.’ >> preseed.cfg
echo ‘.RE’ >> preseed.cfg
echo ‘.TP’ >> preseed.cfg
echo ‘.B pandoc’ >> preseed.cfg
echo ‘.RS’ >> preseed.cfg
echo ‘Installs Pandoc for documentation generation.’ >> preseed.cfg
echo ‘.RE’ >> preseed.cfg
echo ‘.PP’ >> preseed.cfg
echo ‘.SH OPTIONS’ >> preseed.cfg
echo ‘.TP’ >> preseed.cfg
echo ‘.B \-h, \-\-help’ >> preseed.cfg
echo ‘Display this help message.’ >> preseed.cfg
echo ‘.SH SEE ALSO’ >> preseed.cfg
echo ‘The full documentation for \fBcustom_scripts\fR is available online at:’ >> preseed.cfg
echo ‘.PP’ >> preseed.cfg
echo ‘https://example.com/custom_scripts’ >> preseed.cfg
echo ‘.SH AUTHOR’ >> preseed.cfg
echo ‘Your Name’ >> preseed.cfg
echo ‘EOF**⬤**

+

Hmmm

I cant be the first person facing that issue~

Hmmmmm

+

If i

Make a iso

With ssh enabled

And flash that

Does it allow me to ssh in even tho i never used a monitor to install it

Bc ssh was still installed on the iso and setup to start at boot?

+

Breaker still intact

I couldn’t get it off, idk is it higher temp solder?

I just buy a vga cable adapter~

Its on sale if i buy 3 items

+

Like

I did not take them with moving

Bc tf do i need a vga port these days~

+

Now, resawdering the hdmi is stupi

Like i just need a display for installing ssh

+

F

+

Btw mine was like

Ahh this country going down

And i was like

Again? Yeah it does that

Ppl are living free off the state, they lazy

Like they are watching red pill content, i saw a clown world meme

And i was like yeah, i am paraphrasing

Ppl probably dont like to be there, getting exactly what you need does not include randomly eating something etc, habe you looked at consumer prices

Like just surviving is not living

Yes everything is too expensive and pay is too low

Yes you see if prices are too high and companies dont pay enaugh ppl should refuse to work so companies pay more

And if employees demand more pay, companies will have to adjust their prices

Class struggle n fluff

They left the room and closed the door

Like i have not seen any news since years, but the system stays the same

No matter the news cycle

My idea is to take the humans out and place code there

Like we are already doing that

But like in a way so everyone benefits

And not just the 3 smart ppl and the ppl who already had the money to pay the 3 smart ppl

Like nah it’s a systemic axiom

+

Like

Social structure and technology are intigrating seemlessly

And its hyper trippy

I excuse for my ranting and rambling ~

I hope the slightly increased puls from reading my narrative calms down for you soon

I will try to find something motivating and happy to post^~^

+

Okai

I will shut up now and sleep

1 thing

I feel like mine is getting confused by the trippyness of my existence and thereby hers

If i am in a good mood ppl will suddenly approach out of nowhere

Like they can read that ppl suddenly showing interest is odd, but they cant see the reason bc the chain is in abstraction

Like its not obvious

Its just a small disturbance

So they are trying to figure out what is actually going on

But its just basic cause and effect

Btw nothing against that, its just new for mine, they will get used to it

They are just as confused as me the first times i saw it

Like you can make it be more obvious, but usually you should have a good reason

Bc you got trust if you use it irresponsibly ppl will stop listening

And i usually dont have anything i want

Like yes its completely trippy

I just wanted to note it, bc i was watching mine get confused by it

I will sleep now and try to post less to calm mine down a bit

Like remove all possible things and see if they feel better

And then slowly add things again and see where they see reason for concern ~

Nini world

+
1 2 3 4 90 91 92 93 94 95 96 97 98 99 100

Join Now!

Support Us On Tree