Comments (4)
You may be taking the wrong approach by trying to copy files and configure the package after installation.
App Image
Instead of copying files after installation, use a template for the home directory for all new users.
-
In Cubic's Terminal Page, create a
Desktop
directory in/etc/skel
, if it does not exist, and thencd
into the new directory.mkdir /etc/skel/Desktop cd /etc/skel/Desktop
-
Drag and drop the file
software.AppImage
onto the Terminal Page to copy it into theDesktop
directory. -
When the new user
ubuntu
is created,software.AppImage
will be automatically copied to/home/ubuntu/Desktop
and the correct ownershipubuntu:ubuntu
will be asigned.
LightDM
Instead of configuring LightDM after installation, try to configure it while you are cusomizing the OS by executing the following command in Cubic's Terminal Page.
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure lightdm
from cubic.
I found the error code in the crash report. It says invalid user ubuntu. Should ubuntu user exist by now when running late-commands ?
![Screenshot 2024-03-09 at 7 28 45 PM](https://private-user-images.githubusercontent.com/371344/311477535-823d057a-3b66-4a00-ad97-00aa20cba0c4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTUyODgwODYsIm5iZiI6MTcxNTI4Nzc4NiwicGF0aCI6Ii8zNzEzNDQvMzExNDc3NTM1LTgyM2QwNTdhLTNiNjYtNGEwMC1hZDk3LTAwYWEyMGNiYTBjNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNTA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDUwOVQyMDQ5NDZaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xZmY4MjU4YjVlMTlhMDg4ZGFmMzlhODhhM2RjOTUxM2RjNTQzOGQzMTA0YTRhZmI3ZGIwZjZjNDQ3NzQ4MDZkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.YokSLVikpP9lXaBsP69sS7xoHQrdHHfBCgS16_4Yv0U)
from cubic.
I have little experience with cloud-config. However, using preseed, I found that late_command
does not work in Ubuntu, and success_command
should be used instead. Perhaps this is similar for cloud-config as well?
Here is an example of how I update grub and copy a custom grub config file after installation, using preseed. Notice, only one success_command
is allowed, so it is necessary to string all of the commands together using semicolons (;
). Could this also be a requirement for cloud-config?
ubiquity ubiquity/success_command string \
in-target bash -c 'update-grub'; \
in-target bash -c 'cp /usr/share/grub/default/grub /etc/default/grub';
Also, why do you need the sudo
command at this point in the installation? The installer is already running with root privileges. Perhaps this is why you are seeing the ubuntu
user error?
from cubic.
Oh cool thank you I will give a shot
from cubic.
Related Issues (20)
- How do I change Linux MInt's Start Menu Icon in my distribution? HOT 1
- How To Change The DE In The "Live Environment" HOT 1
- Ubuntu Server 22.04 Disable Subiquity Installer HOT 2
- The ubuntu(20.04.5) image containing ros1 made by Cubic deletes the ros1 function package HOT 6
- Can the zstd compression level settings be modified? HOT 3
- Compressed ISO used xz are security risk ? HOT 2
- Have problems if editing an Ubuntu noble ISO in an host Ubuntu Focal ? HOT 4
- Ubuntu 24.04 (beta) bootstrapper/installer seemingly crashes under install of live image
- Cubic reference removal from project HOT 4
- Any plans to make cubic properely support ubuntu 24.04? HOT 3
- Cubic breaks iso HOT 2
- Why can't I access the Typical and Minimal packages page? HOT 2
- Missing user after new install of Ubuntu 22.04 HOT 3
- How to customize the Plymouth Splash Screen on Ubuntu 24.04?
- Virtual environment state save HOT 1
- multi-user mode broken on 24.04 variants
- generated .iso doesn't boot once burnt to USB stick
- Cubic doesn't work together with autoinstall identity. HOT 1
- 24.04 Custom ISOs not reflecting snap removals / some installed app icons not displayed HOT 2
- Errors when install cubic on ubuntu 24.04 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cubic.