Am I supposed to remove cloud-init once the server has been createdWhere are the logs for my user-data script? cloud-initCloud-init: how to install it from the source code?What are the use cases for cloud-init?I'm using Ubuntu Server for a simple home server - do I need cloud-init?winScp: Connection has been unexpectedly closed. server sent command exit status 127Ubuntu server after boot - cloud-init[892]
A story both SF and Fantasy where a character in a spacesuit has a phantom arm
Moving into check for a draw as black, why is it illegal? Comparison to Racing Kings
How to Quickly Replace a Parameter in a Piped Command Chain
Using (draft) C++20 chrono, how to compute various facts about a date
Why would a table with a Clustered Columnstore Index have many open rowgroups?
Why is the OS obfuscation defense against "It's a Unix system!" not widely implemented?
find ".ts" but not ".d.ts"
Sort-of Alexa clone using Python on a raspberry pi
SQL Server Truncates Transaction Logs with Copy Only Backups
Should I sign a NDA that holds me liable for legal fees even if I am in the right?
Is it common to use pinky (little finger) on black keys?
Corridor seats on the TGV — why? Are seat reservations not always mandatory?
How would I measure the Carbon Dioxide content in Coca Cola over a period of time?
Texas gun laws - can an overseas visitor buy ammunition?
Is the number of federal judges appointed by Trump unusual?
How are the Van der Waals constants a and b related to each other?
Magento 2 Escrow Payment Integration
Tactical illusion combat countermeasures (password system)
Should I provide my username and password for my brokerage account to my mortgage lender to verify my assets?
As its creator, can Snape reverse Sectumsempra?
Why is Leela so good at beating Stockfish in the French/Caro-Kann?
Implementation gap in logistics
Creating 2020 in the fewest number of steps
UFW OpenSSH application port change?
Am I supposed to remove cloud-init once the server has been created
Where are the logs for my user-data script? cloud-initCloud-init: how to install it from the source code?What are the use cases for cloud-init?I'm using Ubuntu Server for a simple home server - do I need cloud-init?winScp: Connection has been unexpectedly closed. server sent command exit status 127Ubuntu server after boot - cloud-init[892]
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
As far as I understand it, cloud-init
handles early initialization of a cloud/VM
instance.
Ive been using it to help build KVM VMs and it works really well.
One aspect of cloud-init
I don't understand is what happens once its done the initial creation of the instance.
- Does it automatically disable itself so it never runs again?
Can it execute again under certain circumstances (e.g. on a change to
/etc/machine-id
)? I'm pretty sure I forced it to re-run at some point by runningsudo rm -rf /var/lib/cloud/*
Is it designed so that I should be uninstalling
cloud-init
once my instance has been built and its gone into production, or doescloud-init
stay installed (doing nothing) even after its been instantiated?
server cloud-init
add a comment
|
As far as I understand it, cloud-init
handles early initialization of a cloud/VM
instance.
Ive been using it to help build KVM VMs and it works really well.
One aspect of cloud-init
I don't understand is what happens once its done the initial creation of the instance.
- Does it automatically disable itself so it never runs again?
Can it execute again under certain circumstances (e.g. on a change to
/etc/machine-id
)? I'm pretty sure I forced it to re-run at some point by runningsudo rm -rf /var/lib/cloud/*
Is it designed so that I should be uninstalling
cloud-init
once my instance has been built and its gone into production, or doescloud-init
stay installed (doing nothing) even after its been instantiated?
server cloud-init
"Initialization" is not the same as "installation".
– Rinzwind
Oct 3 at 7:36
add a comment
|
As far as I understand it, cloud-init
handles early initialization of a cloud/VM
instance.
Ive been using it to help build KVM VMs and it works really well.
One aspect of cloud-init
I don't understand is what happens once its done the initial creation of the instance.
- Does it automatically disable itself so it never runs again?
Can it execute again under certain circumstances (e.g. on a change to
/etc/machine-id
)? I'm pretty sure I forced it to re-run at some point by runningsudo rm -rf /var/lib/cloud/*
Is it designed so that I should be uninstalling
cloud-init
once my instance has been built and its gone into production, or doescloud-init
stay installed (doing nothing) even after its been instantiated?
server cloud-init
As far as I understand it, cloud-init
handles early initialization of a cloud/VM
instance.
Ive been using it to help build KVM VMs and it works really well.
One aspect of cloud-init
I don't understand is what happens once its done the initial creation of the instance.
- Does it automatically disable itself so it never runs again?
Can it execute again under certain circumstances (e.g. on a change to
/etc/machine-id
)? I'm pretty sure I forced it to re-run at some point by runningsudo rm -rf /var/lib/cloud/*
Is it designed so that I should be uninstalling
cloud-init
once my instance has been built and its gone into production, or doescloud-init
stay installed (doing nothing) even after its been instantiated?
server cloud-init
server cloud-init
edited Oct 3 at 6:28
NIMISHAN
1,2484 gold badges13 silver badges22 bronze badges
1,2484 gold badges13 silver badges22 bronze badges
asked Oct 3 at 2:57
CrustyCrusty
112 bronze badges
112 bronze badges
"Initialization" is not the same as "installation".
– Rinzwind
Oct 3 at 7:36
add a comment
|
"Initialization" is not the same as "installation".
– Rinzwind
Oct 3 at 7:36
"Initialization" is not the same as "installation".
– Rinzwind
Oct 3 at 7:36
"Initialization" is not the same as "installation".
– Rinzwind
Oct 3 at 7:36
add a comment
|
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1178235%2fam-i-supposed-to-remove-cloud-init-once-the-server-has-been-created%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1178235%2fam-i-supposed-to-remove-cloud-init-once-the-server-has-been-created%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
"Initialization" is not the same as "installation".
– Rinzwind
Oct 3 at 7:36